Can I use oauth token at client side?

2019-09-15 10:58发布

问题:

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.