FormidableLabs / FormidableLabs/react-native-app-auth

App closes while capturing redirect form keycloak

Abierto
#955 1 comentario 0 reacciones 0 asignados Ver en GitHub
needs-triage
Lenguaje dominante
Java
Estrellas
2.3k
Forks
473
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

## 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',
},
}
```

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.