Unexpected OAuth redirect page response #1344
-
My OAuth flow seems to be working fine, presenting the sign-in page and permissions request. When granted my redirect URI is called. However, instead of the documented access_token field in the redirect request, I'm getting "code" and "state" fields. The "code" field contains a 100 character string. I thought "code" was the access token, but it has no prefixed user id and no period separator (there's a couple of dashes in there though). Any advice? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
So the state value is for your own reference, and should match the state parameter from your request. The code value I believe needs to be exchanged for a token. Should all be in the documentation. |
Beta Was this translation helpful? Give feedback.
So the state value is for your own reference, and should match the state parameter from your request. The code value I believe needs to be exchanged for a token. Should all be in the documentation.