react-aad icon indicating copy to clipboard operation
react-aad copied to clipboard

Is It possible to specify response_type for MsalAuthProvider?

Open mosessaur opened this issue 5 years ago • 1 comments
trafficstars

Library versions

  • react-aad-msal: 2.3.4
  • msal: 1.2.1

Describe the bug Can't specify response_type value.

I wish to retrieve both id_token and token when authenticating. Is it possible to specify a value for response_type?

mosessaur avatar Mar 06 '20 03:03 mosessaur

I'm also wondering the same thing. My single page application using the implicit flow is getting an access token back, but it is just a copy of the identity token. During troubleshooting I was told our app isn't sending the correct response_type value. We're currently sending "response_type=id_token".

Is there a way to specify "token" as well? I don't see anything that jumps out at me in the options.

wapplegate avatar Apr 21 '20 17:04 wapplegate