Saving credentials / token in a cookie?

后端 未结 2 1320
鱼传尺愫
鱼传尺愫 2021-01-19 07:04

I have managed to get working the authentication which i know return a token (JWT) to the client. This token has an expiration date/time so I was thinking about saving the t

2条回答
  •  臣服心动
    2021-01-19 07:29

    Google's authentication coookie is good for 14 days.

    http://ben.onfabrik.com/posts/dog-fooding-our-api-authentication

提交回复
热议问题