oidc-client-js icon indicating copy to clipboard operation
oidc-client-js copied to clipboard

Extra authentication request parameters

Open jkmu opened this issue 10 years ago • 3 comments

How can I add extra parameters on the authentication? I would like to read and use these on Identityserver 4

jkmu avatar Nov 15 '16 09:11 jkmu

You'd have to use the OidcClient.createSigninRequest directly and do the redirect manually.

brockallen avatar Nov 16 '16 18:11 brockallen

Hi, I'm trying to understand more identityserver4 I am reading the docs, but I am still lost. Can you tell me please, how and where to implement the OidcClient.createSigninRequest?

Thanks

ForgeEngineer avatar Mar 13 '18 14:03 ForgeEngineer

There is now built in support in the library for this through extraQueryParams in the config, or even per request values as discussed in #315.

AndersAbel avatar Apr 30 '20 08:04 AndersAbel