From b43c17a5f51c5082a8358c536f28b39e4c5cd44b Mon Sep 17 00:00:00 2001 From: Eli Zibin Date: Wed, 31 Jul 2024 13:51:03 -0700 Subject: [PATCH] Update config.md It looks like https://github.com/FormidableLabs/react-native-app-auth/issues/1003, the issue was resolved by adding a trailing slash, and I may have seen another issue or two regarding this elsewhere. In fact, we already call it out in the specific provider section, but this might help surface it a bit more too. --- docs/docs/usage/config.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/usage/config.md b/docs/docs/usage/config.md index c2021a07..48ff6183 100644 --- a/docs/docs/usage/config.md +++ b/docs/docs/usage/config.md @@ -31,7 +31,7 @@ See specific example [configurations for your provider](/docs/category/providers - **endSessionEndpoint** - (`string`) fully formed url to your OpenID Connect end session endpoint. If you want to be able to end a user's session and no `issuer` is specified, this field is mandatory. - **clientId** - (`string`) _REQUIRED_ your client id on the auth server - **clientSecret** - (`string`) client secret to pass to token exchange requests. :warning: Read more about [client secrets](/docs/client-secrets) -- **redirectUrl** - (`string`) _REQUIRED_ the url that links back to your app with the auth code +- **redirectUrl** - (`string`) _REQUIRED_ the url that links back to your app with the auth code. Depending on your [provider](/docs/category/providers), you may find that you need to add a trailing slash to your redirect URL. - **scopes** - (`array`) the scopes for your token, e.g. `['email', 'offline_access']`. - **additionalParameters** - (`object`) additional parameters that will be passed in the authorization request. Must be string values! E.g. setting `additionalParameters: { hello: 'world', foo: 'bar' }` would add