Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting id_token from Microsoft OAuth2.0 using oauthWindowslive #338

Open
seatechdev opened this issue Apr 4, 2018 · 0 comments
Open

Getting id_token from Microsoft OAuth2.0 using oauthWindowslive #338

seatechdev opened this issue Apr 4, 2018 · 0 comments

Comments

@seatechdev
Copy link

seatechdev commented Apr 4, 2018

Hi I am using a modified version of oauthWindowslive. I am trying to get id_token form the Microsoft OAuth2.0. Since I am using the service to get some outlook calendar data I am using the following:
var browserRef = window.cordova.InAppBrowser.open('https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=' + clientId + "&scope=openid+profile+User.Read" + '&response_type=token&response_mode=fragment' + '&display=touch' + '&redirect_uri=' + redirect_uri, '_blank', 'location=no,clearsessioncache=yes,clearcache=yes');

But if I insert id_token+token for the response_type I cannot authenticate. I cannot authenticate even if I try using id_token even if I try using it by itself.

@seatechdev seatechdev changed the title Getting id_token from Microsoft OAuth2.0 Getting id_token from Microsoft OAuth2.0 using oauthWindowslive Apr 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant