Make client secret optional, depending on grant type.

This commit is contained in:
Lucian Hontau
2015-10-16 13:34:05 -04:00
parent 1fd15c6b34
commit 19639aba2b
2 changed files with 9 additions and 5 deletions

View File

@@ -37,7 +37,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"
});