Programmatically Fetching Access & Refresh Tokens
回答済みI'm trying to run a curl of:
curl -i -X GET "https://account.box.com/api/oauth2/authorize?response_type=code&client_id=x&redirect_uri=https://google.com"
Which sends back
Error: redirect_uri_mismatch
From the manual (https://developer.box.com/guides/applications/custom-apps/oauth2-setup/#section-2-the-first-leg) I'm not clear what the redirect URI should be here if I'm trying to approach fetching access and refresh tokens programmatically.
-
正式なコメント
Hi!
According to this reference page, the redirect URI in the dev console (screenshot below) has to match the URI in the API call.
Thanks!
Alex, Box Developer Advocate
コメントアクション
サインインしてコメントを残してください。
コメント
1件のコメント