OAuth2 without redirect similar to Google Drive API device/usercode
Hello! I've checked the forum, yet i haven't found a fully descriptive answer on similar questions to this one.
Right now i'm using Google Drive API which allows to get OAuth2 user access token via code without redirecting in app - user must visit connection url by himself https://accounts.google.com/o/oauth2/device/usercode?flowName=DeviceOAuth (short link: google.com/device) and should put connection code received by app.
I see that Box api supports multiple auth methods, yet i can't find a similar option to mentioned above.
My app is based on raw curl requests and has no gui interaction, thus Google authorization variant is great (but have other functional limitations), so i'm searching for alternative. Is it possible with Box api?
-
Somehow, post editor doesn't work on my side (opera & firefox) - edit opens post in json format, so i'll update here.
The precise title should be:
OAuth 2.0 for TV and Limited-Input Device Applications
the workflow is as follows: https://www.oauth.com/playground/device-code.html
1. app requests device code
2. user inputs it via browser using other device
3. app receives access/refresh token
....
投稿コメントは受け付けていません。
コメント
1件のコメント