Is storing an OAuth token in cookies bad practise?

前端 未结 3 1831
隐瞒了意图╮
隐瞒了意图╮ 2020-12-16 14:49

Is storing an OAuth 2 token in cookies bad practise? If so, what are alternatives for a web app?

3条回答
  •  遥遥无期
    2020-12-16 15:20

    Cookies have maxSize of 4kb. So if you are saving a lot of info in the token - you will get an error.

提交回复
热议问题