Merge pull request #1682 from lucian303/oauth-client-secret

Make client secret optional, depending on grant type.
This commit is contained in:
Tony Tam
2015-10-26 16:24:31 -07:00
2 changed files with 9 additions and 5 deletions

View File

@@ -48,7 +48,7 @@
if(typeof initOAuth == "function") {
initOAuth({
clientId: "your-client-id",
clientSecret: "your-client-secret",
clientSecret: "your-client-secret-if-required",
realm: "your-realms",
appName: "your-app-name",
scopeSeparator: ","