Browse Source

Merge pull request #15074 from abpframework/update/RN-doc-rel-6

Update RN docs for OpenIddict
pull/15077/head
Muhammed Altuğ 3 years ago
committed by GitHub
parent
commit
712a471f29
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 14
      docs/en/Getting-Started-React-Native.md

14
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 the "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 the Https-only settings of OpenIddict
Go to MyProjectNameHttpApiHostModule.cs under the host project. Add put these codes under the `PreConfigureServices` function.
```csharp
#if DEBUG
PreConfigure<OpenIddictServerBuilder>(options => {
options.UseAspNetCore()
.DisableTransportSecurityRequirement();
});
#endif
```
## How to Configure & Run the React Native Application

Loading…
Cancel
Save