Skip to content

Commit

Permalink
Switch back to preferred_username for first azure example
Browse files Browse the repository at this point in the history
  • Loading branch information
jkoskela committed Mar 26, 2024
1 parent 6a9f145 commit 00b79e8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion samples/components/oauth/redshift.azure.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,11 @@
<key>id-token</key>
<value>id_token</value>
</entry>
<!-- preferred_username only available in Azure v2 tokens. If using v1 tokens use email instead. -->
<!-- https://learn.microsoft.com/en-us/entra/identity-platform/id-token-claims-reference#payload-claims -->
<entry>
<key>username</key>
<value>email</value>
<value>preferred_username</value>
</entry>
</accessTokenResponseMaps>
</pluginOAuthConfig>
Expand Down

0 comments on commit 00b79e8

Please sign in to comment.