nxtbgthng / OAuth2Client

Client library for OAuth2 (currently built against draft 10 of the OAuth2 spec)
855 stars 217 forks source link

Integration with ADAL #219

Open jaragones opened 7 years ago

jaragones commented 7 years ago

Our project uses NXOAuth2 to authenticate and communicate with server BUT we found an issue where NXOAuth2 authentication didn't work. A company was using some kind of configuration that in the last redirection result was always "bad request". The only solution that we have found is to use ADAL library to obtain a token (accessToken, refreshToken...).

Next issue that we are dealing (in order to not change more code than the necessary) is: Is there a way to create a NXOAuth2Account from the token received and stored manually? I couldn't find anyway to integrate our response from ADAL with NXOAuth.

Thanks for the library! It is awesome! :)