aurelia-contrib / aurelia-open-id-connect

An aurelia adapter for the IdentityModel/oidc-client-js
https://zamboni-app.azurewebsites.net
MIT License
54 stars 18 forks source link

nonce? #55

Closed gustavdw closed 6 years ago

gustavdw commented 6 years ago

How can I generate a nonce with this plugin as part of the redirect? My identity provider requires one for the implicit flow.

gustavdw commented 6 years ago

I ended up using the extraQueryParams on the signinRedirect method...

this.userManager.signinRedirect({extraQueryParams: {nonce: 'somenoncehere'}}).then(() => {