diff --git a/packages/authentication-oauth/src/utils.ts b/packages/authentication-oauth/src/utils.ts index ef16e8ccd5..21eff4217f 100644 --- a/packages/authentication-oauth/src/utils.ts +++ b/packages/authentication-oauth/src/utils.ts @@ -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 } }