Skip to content

Commit

Permalink
[SSDK-1906]In the function of OAuthWebViewAuthenticator, the order of…
Browse files Browse the repository at this point in the history
… redirectUri and scope are reversed.
  • Loading branch information
DengQiming committed Apr 25, 2018
1 parent 9c01740 commit d633678
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public SparkIdLoginAction(WebView view) {
@Override
public void execute() {
OAuthWebViewAuthenticator oAuth2;
oAuth2 = new OAuthWebViewAuthenticator(clientId, clientSec, redirect, scope);
oAuth2 = new OAuthWebViewAuthenticator(clientId, clientSec, scope, redirect);
Spark spark = new Spark(getApplication(), oAuth2);
SparkAgent.getInstance().setSpark(spark);
oAuth2.authorize(view, result -> {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package com.cisco.sparksdk.kitchensink.login;

/**
* Created by qimdeng on 3/26/18.
*/

public class TokenAuthenticator {
}

0 comments on commit d633678

Please sign in to comment.