diff --git a/docs/en/Getting-Started-React-Native.md b/docs/en/Getting-Started-React-Native.md index 7bd9495e38..7c882525ca 100644 --- a/docs/en/Getting-Started-React-Native.md +++ b/docs/en/Getting-Started-React-Native.md @@ -74,6 +74,20 @@ A React Native application running on an Android emulator or a physical phone ** Run the backend application as described in the [getting started document](Getting-Started.md). +> You should turn off "Https Restriction" if you're using OpenIddict as a central identity management solution. Because the IOS Simulator doesn't support self-signed certificates and OpenIddict is set to only work with HTTPS by default. +## How to disable Https-only settings of OpenIddict + + Go to MyProjectNameHttpApiHostModule.cs under the host project. Add these codes under `PreConfigureServices` function. + +```csharp +#ifDEBUG +PreConfigure(options => { +options.UseAspNetCore() +.DisableTransportSecurityRequirement(); +}); +#endif +``` + ## How to Configure & Run the React Native Application