Skip to content

Commit

Permalink
Merge pull request #11 from fautore/main
Browse files Browse the repository at this point in the history
fix issue #10 pass RelayState down to additionalParams
  • Loading branch information
random42 authored Sep 5, 2024
2 parents 03b50c9 + d8ba816 commit d99f4be
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 d99f4be

Please sign in to comment.