benbaran / adal-angular4

Angular 4/5/6/7 ADAL Wrapper
MIT License
87 stars 106 forks source link

Customizing response type #127

Open chandanch opened 5 years ago

chandanch commented 5 years ago

Is there a way to change the response_type from _idtoken to code or '_idtoken code' Currently its set to: id_token. https://login.microsoftonline.com/<tenant_id/oauth2/authorize?response_type=_id_token_&client_id=%20&redirect_uri=http%3A%2F%2Flocalhost%3A4000%2Fauth%2Fcallback&state=360cce97-75f9-4f8e-a02c-32e1c4beabb4&client-request-id=fcd6c-0ceb-4746-aa45-93a8b8a14d15&x-client-SKU=Js&x-client-Ver=1.0.17&nonce=661d0-9a0f-427a-86bb-9759e91c12f1