FormidableLabs / FormidableLabs/react-native-app-auth
registration_failed on register method
- Dominant language
- Java
- Stars
- 2.3k
- Forks
- 473
- PR merge metrics
- No merged PRs in 30d
Description
## Issue
hello guys, im facing a issue when i try to use the register method, i got `registration_failed`
config:
```js
const registerConfig: RegistrationConfiguration = {
issuer: ACCOUNT_URL,
redirectUrls: [REDIRECT_URL],
serviceConfiguration: {
authorizationEndpoint: `${ACCOUNT_URL}/oauth/authorize`,
registrationEndpoint: `${ACCOUNT_URL}/oauth/authorize?action=register`,
tokenEndpoint: `${ACCOUNT_URL}/oauth/token`,
},
};
method:
```js
register: async () =>
register(registerConfig)
.then(async state => {
await StorageService.setSecureValue(
homeKeys.accessToken,
state.registrationAccessToken!,
);
})
.catch(err => {
console.log(err.code);
}),
```
Contributor guide
Assessment
This issue has not been assessed yet.