You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Code was working for a solid year unchanged, just like the example:
config = new SessionConfiguration.Builder()
.setClientId(getString(R.string.uberClientId)) //This is necessary
.setRedirectUri(getString(R.string.uberRedirectURI)) //This is necessary if you'll be using implicit grant
.setServerToken(getString(R.string.uberServerToken))
.setClientSecret(((MyApplication)getApplication()).getUberSecret())
.setEnvironment(SessionConfiguration.Environment.PRODUCTION) //Useful for testing your app in the sandbox environment
.setScopes(Arrays.asList(Scope.PROFILE)) //Your scopes for authentication here
.build();
loginManager = new LoginManager(accessTokenStorage, new LoginCallback() {
@Override
public void onLoginCancel() {
}
@Override
public void onLoginError(@NonNull AuthenticationError error) {
System.out.println(error.toStandardString());
}
@Override
public void onLoginSuccess(@NonNull AccessToken accessToken) {
((MyApplication)getApplication()).setUberAccessToken(accessToken.getToken(), accessToken.getRefreshToken());
}
@Override
public void onAuthorizationCodeReceived(@NonNull String authorizationCode) {
}
}, config, UBER_RESPONSE_CODE);
loginManager.login(context);
}
});
Now any and all scopes, including general scopes setup in the developers center throw an INVALID_SCOPE. I suspect something changed in the uber app that is causing an incompatibility with the SDK. Nothing at all has changed on my side.
Expected Behavior: User Authentication
The text was updated successfully, but these errors were encountered:
Library version: all
Repro steps, stacktrace, screenshots:
Code was working for a solid year unchanged, just like the example:
Now any and all scopes, including general scopes setup in the developers center throw an INVALID_SCOPE. I suspect something changed in the uber app that is causing an incompatibility with the SDK. Nothing at all has changed on my side.
Expected Behavior: User Authentication
The text was updated successfully, but these errors were encountered: