Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frontegg migration language edit #180

Merged
merged 5 commits into from
Mar 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading