Can I use oauth token at client side?

耗尽温柔 提交于 2020-01-16 14:29:40

问题


can I use oauth token generated on server at client side ? if yes . will it be secure to going like that ?


回答1:


I'm not completely sure I understand the question. But, in general, if you have the application token and the user token, you can use it anywhere. For instance, my application has a mobile registration or an web site registration.

Regardless of which one you do, the tokens are shared and can be used from either client.




回答2:


OAuth 2.0 AccessToken can be used to access its resource in client side (or anywhere), until it expires. That is what Client-side Applications means to do.



来源:https://stackoverflow.com/questions/6966849/can-i-use-oauth-token-at-client-side

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!