forked from FusionAuth/fusionauth-site
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
...tent/docs/lifecycle/migrate-users/provider-specific/_make-webservice-public.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import {Code} from 'astro/components'; | ||
import Aside from '/src/components/Aside.astro'; | ||
import InlineField from 'src/components/InlineField.astro'; | ||
|
||
If your FusionAuth instance is hosted on a remote web server and you want to host the web service somewhere else, you have a few options for setting up a publicly available API endpoint for the Connector to call the web service from. | ||
Check failure on line 5 in astro/src/content/docs/lifecycle/migrate-users/provider-specific/_make-webservice-public.mdx
|
||
|
||
- Using Microsoft Azure, you can create an [HTTP trigger](https://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-http-webhook-trigger?tabs=python-v2%2Cisolated-process%2Cnodejs-v4%2Cfunctionsv2) on an Azure function app. | ||
- You can use an [API gateway](https://aws.amazon.com/api-gateway/) with a Lambda function on AWS. | ||
- During testing you can create a self-hosted endpoint locally and make it accessible on the internet using a service like [ngrok](https://ngrok.com/). | ||
|
||
<Aside type="note"> | ||
To use ngrok you can download it at https://ngrok.com. There are free and paid plans available. For testing a free plan suffice. | ||
|
||
Follow this [quickstart to get ngrok up and running](https://ngrok.com/docs/getting-started/). | ||
</Aside> | ||
|
||
When ngrok is installed, you can start it with this command. | ||
|
||
<Code lang="shell" code={`ngrok http ${props.ngrok_port}`}/> | ||
|
||
Take note of the URL ngrok prints to your terminal. You can then use this URL as the <InlineField>Authentication URL</InlineField> value when setting up a Connector in FusionAuth. The URL should look something like `https://random-ngrok-string.ngrok-free.app`. | ||
Check failure on line 21 in astro/src/content/docs/lifecycle/migrate-users/provider-specific/_make-webservice-public.mdx
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters