Skip to content
This repository was archived by the owner on Jan 22, 2019. It is now read-only.

Commit 36a649f

Browse files
committed
Merge pull request JamesRandall#23 from vvmoppescapita/master
Made nonce and autoGenerateNonce optional, like the comments suggests they are
2 parents b3bfa06 + 70293d3 commit 36a649f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dist/angularJsOAuth2.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,8 @@
245245
signOutUrl: '@', // url on the authorization server for logging out. Local token is deleted even if no URL is given but that will leave user logged in against STS
246246
signOutAppendToken: '@', // defaults to 'false', set to 'true' to append the token to the sign out url
247247
signOutRedirectUrl: '@', // url to redirect to after sign out on the STS has completed
248-
nonce: '@', // nonce value, optional. If unspecified or an empty string and autoGenerateNonce is true then a nonce will be auto-generated
249-
autoGenerateNonce: '=' // Should a nonce be autogenerated if not supplied. Optional and defaults to true.
248+
nonce: '@?', // nonce value, optional. If unspecified or an empty string and autoGenerateNonce is true then a nonce will be auto-generated
249+
autoGenerateNonce: '=?' // Should a nonce be autogenerated if not supplied. Optional and defaults to true.
250250
}
251251
};
252252

0 commit comments

Comments
 (0)