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
When moving back(Redirect) to the app, get the error "error: AuthenticationError" (INVALID_RESPONSE).
Please help to check the reason why cannot get the token-Id. Thanks
return SessionConfiguration.Builder()
.setClientId("xxxxxx") // if needed, I can pass it privately.
.setRedirectUri("${context.applicationInfo.packageName}.uberauth://redirect")
.setEnvironment(SessionConfiguration.Environment.SANDBOX)
.setScopes(
arrayListOf(
Scope.PROFILE
)
)
.build()
}
binding.uberButtonWhite.setOnClickListener {
val accessTokenStorage = AccessTokenManager(this)
loginManager = LoginManager(accessTokenStorage, object: LoginCallback{
override fun onLoginCancel() {
Timber.d("onLoginCancel")
}
**override fun onLoginError(error: AuthenticationError) {
Timber.d("$error")
}**
override fun onLoginSuccess(accessToken: AccessToken) {
Timber.d("$accessToken")
}
override fun onAuthorizationCodeReceived(authorizationCode: String) {
Timber.d(authorizationCode)
}
}, UberManager.getConfig(this))
loginManager?.login(this)
}
}
Expected Behavior:
The text was updated successfully, but these errors were encountered:
Github issues are for bug reports. If this is a question around usage or understanding please use
Stack Overflow. https://stackoverflow.com/questions/tagged/uber-api
Library version: 0.10.x
When moving back(Redirect) to the app, get the error "error: AuthenticationError" (INVALID_RESPONSE).
Please help to check the reason why cannot get the token-Id. Thanks
}
Expected Behavior:
The text was updated successfully, but these errors were encountered: