FormidableLabs / FormidableLabs/react-native-app-auth

error code "token_exchange_failed."

Open
#799 5 comments 1 reaction 0 assignees View on GitHub
Dominant language
Java
Stars
2.3k
Forks
473
PR merge metrics
No merged PRs in 30d

Description

## Issue

Getting network error after successfully login. This is my config.
const config = {
issuer: 'http://localhost:9080/auth/realms/jhipster',
clientId: 'web_app',
redirectUrl: 'com.authproject.auth:/oauth2callback',
scope: ['openid', 'nst-eid-oid', 'nst-email', 'nst-profile', 'nst-cloudid-authentication-method']
};

Please help me to resolve this issue.

---

## Environment
I am using [Keycloak](http://www.keycloak.org/)

Contributor guide

Open the contributing guide

Research direction

No repository file, test, or entry point is named. Start by reproducing the network error with the provided React Native configuration and Keycloak environment, then inspect the token-exchange path and document the concrete failure and expected behavior before making a change.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native
Domain
authentication, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.