FormidableLabs / FormidableLabs/react-native-app-auth
registration_failed on register method
- 主要言語
- Java
- スター
- 2.3k
- フォーク
- 473
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
## 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);
}),
```
コントリビューションガイド
調査の方向性
Start at the register(registerConfig) call and inspect the reported err.code alongside the issuer, registrationEndpoint, authorizationEndpoint, and tokenEndpoint values shown in the issue. Reproduce the registration flow with the same configuration and determine whether the failure comes from the React Native bridge or the OAuth provider; the issue is resolved when the cause is identified with provider and reproduction details.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, react-native
- 領域
- authentication, mobile
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 20/100