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
For some mobile application, it doesn't recognize set-cookie response header and the cookie communication has the CORS risk. I personally prefer using the token as the authentication ticket and the server auth validator check a specific request header, e.g. Authentication, likes the JWT does.
It is better that we can decide to use cookie or token to communicate with clients.
The text was updated successfully, but these errors were encountered:
zheeeng
changed the title
cloud ld
[Request] Session support token communication not only using cookie.
Feb 19, 2019
I agree, we have a plan in the roadmap for authentication and verification of API calls. To be honest that was ready for the current release, I've done it and tested it but I had to manage a lot of external products the last months, so it was posponded and removed from the release. Will be here on the upcoming release but this has nothing to do with Sessions. You can already use the current sessions + JWT without any issue, we do it everywhere.
@zheeeng Forgot to mention that you can check the sessions/Config.Encode/Decode of cookie for more security, we have examples as well. There you can implement things like aes.
For some mobile application, it doesn't recognize
set-cookie
response header and the cookie communication has the CORS risk. I personally prefer using the token as the authentication ticket and the server auth validator check a specific request header, e.g.Authentication
, likes the JWT does.It is better that we can decide to use
cookie
ortoken
to communicate with clients.The text was updated successfully, but these errors were encountered: