-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update ui components in quickstarts (#2924)
* add inline * add ui elements --------- Co-authored-by: Alex Patterson <[email protected]>
- Loading branch information
1 parent
6cb2214
commit 643b4b0
Showing
4 changed files
with
19 additions
and
13 deletions.
There are no files selected for viewing
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
13 changes: 7 additions & 6 deletions
13
astro/src/content/quickstarts/_5-minute-application-setup.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 |
---|---|---|
@@ -1,30 +1,31 @@ | ||
import InlineField from 'src/components/InlineField.astro'; | ||
import InlineUIElement from 'src/components/InlineUIElement.astro'; | ||
|
||
Once you arrive in the FusionAuth admin UI, the first thing you need to do is create an Application. An Application is something that a user can log into. This is the application you are building or that you are migrating to use FusionAuth. Click the <strong>Application</strong> menu option on the left side of the page or the **Setup** button in the box at the top of the page. | ||
Once you arrive in the FusionAuth admin UI, the first thing you need to do is create an Application. An Application is something that a user can log into. This is the application you are building or that you are migrating to use FusionAuth. Click the <InlineUIElement>Application</InlineUIElement> menu option on the left side of the page or the <InlineUIElement>Setup</InlineUIElement> button in the box at the top of the page. | ||
|
||
<img src={`/img/docs/quickstarts/dashboard-applications${props.imagesuffix || ''}.png`} alt="Dashboard to Applications" width="1200" /> | ||
|
||
This will take you to the listing page for Applications. Next, you'll click the green plus button (the add button) at the top of the page: | ||
This will take you to the listing page for Applications. Next, you'll click the <InlineUIElement>green plus button</InlineUIElement> (the add button) at the top of the page: | ||
|
||
<img src={`/img/docs/quickstarts/application-listing${props.imagesuffix || ''}.png`} alt="Application Listing" width="1200" role="bottom-cropped" /> | ||
|
||
On the Application form, provide a name for your Application (this is only used for display purposes) and a couple of items on the OAuth tab. Start with a simple setup that allows existing users to log into your application. There is no need to add any roles or registration configuration. | ||
|
||
When you click on the OAuth tab, you'll see this form. | ||
When you click on the <InlineUIElement>OAuth tab</InlineUIElement>, you'll see this form. | ||
|
||
<img src={`/img/docs/quickstarts/application-form${props.imagesuffix || ''}.png`} alt="Application Form" width="1200" /> | ||
|
||
Most of the defaults will work, but provide the following items. | ||
|
||
* An authorized redirect URL. This is the route/controller in your application's backend that will complete the OAuth grant and obtain a token. For this example, add `http://localhost:3000/oauth-redirect`. You will see example code below for this route. Note that when you type or paste values into this text field you also must click the popup that appears. Otherwise the value will not be saved. | ||
* An <InlineField>authorized redirect URL</InlineField>. This is the route/controller in your application's backend that will complete the OAuth grant and obtain a token. For this example, add `http://localhost:3000/oauth-redirect`. You will see example code below for this route. Note that when you type or paste values into this text field you also must click the popup that appears. Otherwise the value will not be saved. | ||
* Specify a valid <InlineField>Logout URL</InlineField>. This is where the user will be redirected to after they are logged out of FusionAuth's OAuth front-end: your application. For this example, set this value to `http://localhost:3000/logout`. You'll see how this is used below. | ||
* Make sure the Authorization Code grant is selected in the <InlineField>Enabled Grants</InlineField>. | ||
* Set the <InlineField>Require registration</InlineField> field to `true`. | ||
|
||
Once you have configured the application, you'll click the blue "Save" button at the top of the page. | ||
Once you have configured the application, you'll click the blue <InlineUIElement>Save</InlineUIElement> button at the top of the page. | ||
|
||
<img src={`/img/docs/quickstarts/application-form-save${props.imagesuffix || ''}.png`} alt="Save Button Application Form" width="1200" role="bottom-cropped" /> | ||
|
||
Then, click on the green magnifying glass on the list view next to your application. Scroll down to the <strong>OAuth Configuration</strong> section and copy the <InlineField>Client Id</InlineField> and <InlineField>Client Secret</InlineField> values off to a text file. You'll use them later. | ||
Then, click on the <InlineUIElement>green magnifying glass</InlineUIElement> on the list view next to your application. Scroll down to the <strong>OAuth Configuration</strong> section and copy the <InlineField>Client Id</InlineField> and <InlineField>Client Secret</InlineField> values off to a text file. You'll use them later. | ||
|
||
<img src={`/img/docs/quickstarts/application-details${props.imagesuffix || ''}.png`} alt="Application Details" width="1200" /> |
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
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