Replies: 1 comment 3 replies
-
Can you share code you use |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone.
I have been implementing the Website Authorization Workflow for my application, and in the step 4 I need to exchange the LWA authorization code for a LWA refresh token.
I have seen a method that I thought was the one that I should use, which is in the class AuthorizationService the GetAccessTokenFromCodeAsync, but this method is returning to me the refresh token as null, checking the implementation, it is sending the grant type as client credentials, and the scopes for migrations, etc, etc, so, it makes me think that is not the one that I should use.
I would like to ask you if there is some method to do this process implemented in the sdk or should I do this out of the sdk scope.
Thank you!
Edit:
I'm using TokenGeneration class on method GetAccessTokenFromCodeAsync for now and it works, but just in case this is not correct (due to future changes or something like that) please let me know.
Beta Was this translation helpful? Give feedback.
All reactions