Bug in svySecurity.loginWithToken()

Discuss all problems you have with Servoy here. It might help to mention the Servoy version and Operating System version you are using

Bug in svySecurity.loginWithToken()

Postby nam.le » Mon Apr 04, 2022 5:38 pm

in svySecurity.loginWithToken() (version 1.5.0) at line 3274 the method svySecurity.getUser(tenant, user) is called with wrong order of arguments.
The same method is defined as .getUser(user, tenant). Therefore, the whole feature with token login does not work !!
Could you please take a look at this.
Nam
nam.le
 
Posts: 22
Joined: Thu Jan 21, 2021 1:32 pm

Re: Bug in svySecurity.loginWithToken()

Postby steve1376656734 » Mon Apr 04, 2022 5:53 pm

This is a known issue and is logged with support (SVX-215). It is still present in V1.6.0 which is the version it was logged for.

Thanks
Steve
Steve
SAN Developer
There are 10 types of people in the world - those that understand binary and those that don't
steve1376656734
 
Posts: 327
Joined: Fri Aug 16, 2013 2:38 pm
Location: Ashford, UK

Re: Bug in svySecurity.loginWithToken()

Postby nam.le » Mon Apr 04, 2022 7:54 pm

Hi Steve,
thank you very much for the information.
Best regards
Nam
nam.le
 
Posts: 22
Joined: Thu Jan 21, 2021 1:32 pm

Re: Bug in svySecurity.loginWithToken()

Postby steve1376656734 » Mon Apr 04, 2022 10:27 pm

No problem.

To get around the problem you can simply edit the line yourself to make it work and just make sure you don't update the package again until the issue is resolved.
Steve
SAN Developer
There are 10 types of people in the world - those that understand binary and those that don't
steve1376656734
 
Posts: 327
Joined: Fri Aug 16, 2013 2:38 pm
Location: Ashford, UK


Return to Discuss possible Issues and Bugs

Who is online

Users browsing this forum: Google [Bot] and 5 guests