JamesRandall / AngularJS-OAuth2

Package for allowing an AngularJS application to authenticate with an OAuth 2 / Open ID Connect identity provider using the implicit flow.
MIT License
46 stars 42 forks source link

Made nonce and autoGenerateNonce optional, like the comments suggests they are #23

Closed vvmoppescapita closed 8 years ago

vvmoppescapita commented 8 years ago

If autoGenerateNonce is not set to optional (like the comment suggests), and I don't specify it, I get this error at auth time:

Expression 'undefined' used with directive 'oauth2' is non-assignable!

JamesRandall commented 8 years ago

Thanks. Bit stupid on my part - thought I'd tested that but clearly not.