You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to use this to authenticate my slim REST API but I'm a bit confused right now.
Don't I have to add an accessToken or something like this to my response from login? If a user calls login and after that tries to get some other data how does the system know that the user is authenticated and allowed to call the method? Of course then I have to test if the accessToken is valid in each route but it seams that I do not have to do all this by myself.
The only way I could think of is that the authentication is IP based but I see some problems with that so that could not be the answer, right?
Also how long is the authentication valid? Can I set a experation date somewhere?
The text was updated successfully, but these errors were encountered:
I would like to use this to authenticate my slim REST API but I'm a bit confused right now.
Don't I have to add an
accessToken
or something like this to my response from login? If a user calls login and after that tries to get some other data how does the system know that the user is authenticated and allowed to call the method? Of course then I have to test if theaccessToken
is valid in each route but it seams that I do not have to do all this by myself.The only way I could think of is that the authentication is IP based but I see some problems with that so that could not be the answer, right?
Also how long is the authentication valid? Can I set a experation date somewhere?
The text was updated successfully, but these errors were encountered: