You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
first : get token by code and state , and set scope:profile
when refresh token by client.RefreshOAuthToken, get new accessToken without scope .
so I use new accessToken to get userinfo (/api/userinfo), get response doesn't have user's permissions.
but the resultful api need scope parameter
The text was updated successfully, but these errors were encountered:
i've actually the same problem, when calling client.RefreshOauthToken with the refresh token value i receive an error stating that the token is invalid
first : get token by code and state , and set scope:profile
when refresh token by client.RefreshOAuthToken, get new accessToken without scope .
so I use new accessToken to get userinfo (/api/userinfo), get response doesn't have user's permissions.
but the resultful api need scope parameter
![image](https://private-user-images.githubusercontent.com/28671733/334371928-db288a8c-d93d-49af-bf53-40a30c1e606e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAxNzE2MTYsIm5iZiI6MTcyMDE3MTMxNiwicGF0aCI6Ii8yODY3MTczMy8zMzQzNzE5MjgtZGIyODhhOGMtZDkzZC00OWFmLWJmNTMtNDBhMzBjMWU2MDZlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA1VDA5MjE1NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI0MjI2N2QwY2QxNjc4YWQ2ODc1Y2EyODhiNWY0ZTFjMTAyYTcxODAxM2U2ZThmNWVhNTYwYTJkMjQyNjRiZjgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Fmn8j3pMtcywcuUxiZs21Sxo8Kus3qIlXg5cK5YbqkE)
The text was updated successfully, but these errors were encountered: