You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Revet sha265 -> sha256
* Wrap app in a SafeAreaView
* Add useNonce param at the end of the the args instead of in the middle
* Add a test for the nonce parameter
* Add typescript definition for useNonce
* Update readme to add useNonce
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,6 @@
10
10
11
11
Past documentation: [`3.1`](https://github.com/FormidableLabs/react-native-app-auth/tree/v3.1.0)[`3.0`](https://github.com/FormidableLabs/react-native-app-auth/tree/v3.0.0)[`2.x`](https://github.com/FormidableLabs/react-native-app-auth/tree/v2.0.0)[`1.x`](https://github.com/FormidableLabs/react-native-app-auth/tree/v1.0.1).
12
12
13
-
14
13
React Native bridge for [AppAuth-iOS](https://github.com/openid/AppAuth-iOS) and
15
14
[AppAuth-Android](https://github.com/openid/AppAuth-Android) SDKS for communicating with
16
15
[OAuth 2.0](https://tools.ietf.org/html/rfc6749) and
@@ -97,6 +96,7 @@ with optional overrides.
97
96
Must be string values! E.g. setting `additionalParameters: { hello: 'world', foo: 'bar' }` would add
98
97
`hello=world&foo=bar` to the authorization request.
99
98
***dangerouslyAllowInsecureHttpRequests** - (`boolean`) _ANDROID_ whether to allow requests over plain HTTP or with self-signed SSL certificates. :warning: Can be useful for testing against local server, _should not be used in production._ This setting has no effect on iOS; to enable insecure HTTP requests, add a [NSExceptionAllowsInsecureHTTPLoads exception](https://cocoacasts.com/how-to-add-app-transport-security-exception-domains) to your App Transport Security settings.
99
+
***useNonce** - (`boolean`) _IOS_ (default: true) optionally allows not sending the nonce parameter, to support non-compliant providers
100
100
101
101
#### result
102
102
@@ -682,12 +682,12 @@ First, set up a your user pool in [the AWS console](https://eu-west-1.console.aw
682
682
Now you need to set up your domain name. This will be on the left menu in your pool details page, under App Integration -> Domain Name. What this is depends on your preference. E.g. for AppAuth demo, mine is `https://app-auth-test.auth.eu-west-1.amazoncognito.com` as I chose `app-auth-test` as the domain and `eu-west-1` as the region.
683
683
684
684
Finally, you need to configure your app client. Go to App Integration -> App Client Settings.
685
+
685
686
1. Enable your newly created user pool under Enabled Identity Providers.
686
687
2. Add the callback url (must be same as in your config, e.g. `com.myclientapp://myclient/redirect`)
0 commit comments