random42 / passport-spid

Passport strategy for SPID (italian citizens) authentication
MIT License
11 stars 5 forks source link

no ability to pass RelayState in additionalParams #10

Closed fautore closed 3 weeks ago

fautore commented 3 weeks ago

Hi everybody, as the title describes, the RelayState property in additionalParams is hardcoded to 'RelayState'; RelayState is also mentioned on official spid documentation.

https://github.com/random42/passport-spid/blob/90d1fbb818380f81d44f8b7f2919aaa74512bf17/src/strategy.ts#L127-L129

i'll open a PR to fix the issue.