Skip to content

Commit

Permalink
fix(authentication-oauth): defaults first for GrantConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
fratzinger authored and daffl committed May 3, 2024
1 parent ff662a4 commit 05e1d15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/authentication-oauth/src/utils.ts
Expand Up @@ -42,11 +42,11 @@ export const getGrantConfig = (service: AuthenticationService): GrantConfig => {
const grant: GrantConfig = {
...oauthConfig,
defaults: {
...oauthConfig.defaults,
prefix: '/oauth',
origin: `${protocol}://${host}`,
transport: 'state',
response: ['tokens', 'raw', 'profile']
response: ['tokens', 'raw', 'profile'],
...oauthConfig.defaults
}
}

Expand Down

0 comments on commit 05e1d15

Please sign in to comment.