MD
My experience with jwt was pretty good. As you might know token based authentication provides you an auth token that is used to authenticate user request.Token based authentication is a new concept and is prominent everywhere nowadays.There are some advantages of token based authentication against server based and session based authentication. So there are no special conditions to use it,token based authentication replaces pitfalls of session and sever based authentication. So it should be used in place of the other two.And also tokens generated using jwt can be stored as http-only/secure cookies in request header.
ReplyThreadOct 23, 20151How was your experience with JSON Web Tokens (JWTs) and when should we use it?