Added Nonce and Nonce length parameters.#5
Added Nonce and Nonce length parameters.#5rndthoughts wants to merge 1 commit intoJamesRandall:masterfrom rndthoughts:master
Conversation
|
Thank you!
|
|
Ah nuts, i just spotted the outstanding issue and that you'd already fixed it! |
|
James, (this is pinnprophead) also known as Peter Steele! Can you offer quick advice? I have the component / directive integrated into my app, and successfully calling the IdentityServer3 and getting back identity and authorization tokens. I can see them on the URL of the callback. But not sure how to for example change the button from Sign-In to Sign-Out? I tried putting $watch on $rootscope for various events I saw in the component code, such as ‘oauth:authorizationError’ and ‘auth:internalservererror’ but it seems like those things are getting fired a lot, like before I even try to sign in. Or maybe they are getting fired when the value changes from undefined to false? |
|
Hey Peter, I had a similar problem until i spotted that the code wasn't ignoring the hash/pound(#) symbol when parsing the fragment returned. I modified line 36 and updated the regex to this: And now the button changes correctly. |
|
Hi all, I got the nonce (and state) stuff in today. I'll take a look at this in the next day or two. I've not seen it myself so want to do a bit of testing. Are you using html5 strict mode by any chance? |
Thinktecture IdentityServer requires a Nonce value when asking for implementing OpenID scopes using the implicit flow. I have added a nonce parameter and random value generator to enable this situation.