Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App closes while capturing redirect form keycloak #955

Open
saimur-crest opened this issue Mar 22, 2024 · 0 comments
Open

App closes while capturing redirect form keycloak #955

saimur-crest opened this issue Mar 22, 2024 · 0 comments
Labels
needs-triage Waiting for a member of the team to confirm

Comments

@saimur-crest
Copy link

saimur-crest commented Mar 22, 2024

Closes while being redirected

Upon successful authentication from keycloak, when the app is redirected, it closes immediately. I've used try catch block to see if it throws any error, but couldn't find any errors, and the code does not reach the next line after the authorize function invocation.

Environment

  • Identity Provider: Keycloak
  • Platform: Android
  • react-native Version: 0.73.6
  • react-native-app-auth Version: 7.1.3
  • Are you using Expo?: no

Configuration

// my keycloak sever is running at http://192.168.0.102:8080
{
    issuer: 'http://192.168.0.102:8080',
    clientId: 'owh-client',
    redirectUrl: 'io.identityserver.demo:/oauthredirect',
    additionalParameters: {},
    scopes: ['openid', 'profile', 'email', 'offline_access'],
    serviceConfiguration: {
      authorizationEndpoint: 'http://192.168.0.102:8080/realms/Test/protocol/openid-connect/auth',
      tokenEndpoint: 'http://192.168.0.102:8080/realms/Test/protocol/openid-connect/token',
    },
}
@carbonrobot carbonrobot added the needs-triage Waiting for a member of the team to confirm label May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage Waiting for a member of the team to confirm
Projects
None yet
Development

No branches or pull requests

2 participants