Skip to content

Commit

Permalink
add audience to oauth params
Browse files Browse the repository at this point in the history
Fix #533
  • Loading branch information
ruddell committed Nov 15, 2021
1 parent a0222a8 commit 5dcdd0a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export async function getAuthParams(clientId: string, redirectUri: string, disco
state,
client_id: clientId,
redirect_uri: redirectUri,
audience: 'api://default',
};
const authUrl = `${discovery.discoveryDocument?.authorization_endpoint}?${buildQueryString(authenticationOptions)}`;
return {
Expand Down

0 comments on commit 5dcdd0a

Please sign in to comment.