Skip to content

Commit

Permalink
fix issue #10 pass RelayState down to additionalParams
Browse files Browse the repository at this point in the history
  • Loading branch information
fautore committed Sep 5, 2024
1 parent 90d1fbb commit d8ba816
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/strategy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,7 @@ export class SpidStrategy extends MultiSamlStrategy {
{},
saml,
{
additionalParams: {
RelayState: 'RelayState',
},
additionalParams: saml.additionalParams ?? { RelayState: 'RelayState' },
authnContext: [SPID_LEVELS[config.spid.authnContext]],
forceAuthn: FORCE_AUTHN_LEVELS.includes(authnContext),
passReqToCallback: config.passReqToCallback,
Expand Down

0 comments on commit d8ba816

Please sign in to comment.