Skip to content

Commit

Permalink
Merge pull request #180 from ritza-co/frontegg-migration-language-edit
Browse files Browse the repository at this point in the history
Frontegg migration language edit
  • Loading branch information
sixhobbits authored Mar 27, 2024
2 parents 4588874 + 09bf6b1 commit e491059
Show file tree
Hide file tree
Showing 3 changed files with 115 additions and 101 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐶 [Vale.Terms] Use 'fusionauth' instead of 'FusionAuth'. Raw Output: {"message": "[Vale.Terms] Use 'fusionauth' instead of 'FusionAuth'.", "location": {"path": "astro/src/content/docs/lifecycle/migrate-users/provider-specific/_make-webservice-public.mdx", "range": {"start": {"line": 5, "column": 9}}}, "severity": "ERROR"}

- 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

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐶 [Vale.Terms] Use 'fusionauth' instead of 'FusionAuth'. Raw Output: {"message": "[Vale.Terms] Use 'fusionauth' instead of 'FusionAuth'.", "location": {"path": "astro/src/content/docs/lifecycle/migrate-users/provider-specific/_make-webservice-public.mdx", "range": {"start": {"line": 21, "column": 169}}}, "severity": "ERROR"}
Loading

0 comments on commit e491059

Please sign in to comment.