Hi there,
I tried to test the example of secure login, and no matter what username or password I tried to connect to the server through the example I received an error "Authentication failed".
So I went to check the extension I found that the function "_server.getSecretKey" returns "null" Is there a reason for this? And how do I fix it?
Thanks, Ran
help|| Something strange with the function "_server.getSecretKey()"
-
- Posts: 27
- Joined: 20 Jun 2016, 18:30
Re: help|| Something strange with the function "_server.getSecretKey()"
Hi,
unless you've changed the code in either the client or the server the example will work out of the box.
You can use three user names to test the login, as outlined in the source code and relative tutorials.
I'd recommend checking it if you've missed it:
https://www.smartfoxserver.com/docs/1x/ ... /index.htm
If the problem persists, check the server side and see if there's any error at the time of login.
Thanks
unless you've changed the code in either the client or the server the example will work out of the box.
You can use three user names to test the login, as outlined in the source code and relative tutorials.
I'd recommend checking it if you've missed it:
https://www.smartfoxserver.com/docs/1x/ ... /index.htm
If the problem persists, check the server side and see if there's any error at the time of login.
Thanks
Return to “Server Side Extension Development”
Who is online
Users browsing this forum: No registered users and 25 guests