Skip to content

Commit

Permalink
move 20 blogs
Browse files Browse the repository at this point in the history
  • Loading branch information
lyleschemmerling committed Aug 8, 2023
1 parent fd01a37 commit 8322cb3
Show file tree
Hide file tree
Showing 155 changed files with 504 additions and 1,062 deletions.
217 changes: 175 additions & 42 deletions astro/.astro/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -722,86 +722,128 @@ declare module 'astro:content' {
} & { render(): Render[".md"] },
},
"blog": {
"another-day.mdx": {
id: "another-day.mdx",
slug: "another-day",
"8-things-to-know-about-okta-and-fusionauth.mdx": {
id: "8-things-to-know-about-okta-and-fusionauth.mdx",
slug: "8-things-to-know-about-okta-and-fusionauth",
body: string,
collection: "blog",
data: any
} & { render(): Render[".mdx"] },
"dummy-1.mdx": {
id: "dummy-1.mdx",
slug: "dummy-1",
"active-directory-and-fusionauth-ciam-comparison.mdx": {
id: "active-directory-and-fusionauth-ciam-comparison.mdx",
slug: "active-directory-and-fusionauth-ciam-comparison",
body: string,
collection: "blog",
data: any
} & { render(): Render[".mdx"] },
"dummy-10.mdx": {
id: "dummy-10.mdx",
slug: "dummy-10",
"amazon-cognito-and-fusionauth-comparison.mdx": {
id: "amazon-cognito-and-fusionauth-comparison.mdx",
slug: "amazon-cognito-and-fusionauth-comparison",
body: string,
collection: "blog",
data: any
} & { render(): Render[".mdx"] },
"dummy-11.mdx": {
id: "dummy-11.mdx",
slug: "dummy-11",
"announcing-fusionauth-1-43.mdx": {
id: "announcing-fusionauth-1-43.mdx",
slug: "announcing-fusionauth-1-43",
body: string,
collection: "blog",
data: any
} & { render(): Render[".mdx"] },
"dummy-2.mdx": {
id: "dummy-2.mdx",
slug: "dummy-2",
"announcing-fusionauth-1-45.mdx": {
id: "announcing-fusionauth-1-45.mdx",
slug: "announcing-fusionauth-1-45",
body: string,
collection: "blog",
data: any
} & { render(): Render[".mdx"] },
"dummy-3.mdx": {
id: "dummy-3.mdx",
slug: "dummy-3",
"auth0-and-fusionauth-a-tale-of-two-solutions.mdx": {
id: "auth0-and-fusionauth-a-tale-of-two-solutions.mdx",
slug: "auth0-and-fusionauth-a-tale-of-two-solutions",
body: string,
collection: "blog",
data: any
} & { render(): Render[".mdx"] },
"dummy-4.mdx": {
id: "dummy-4.mdx",
slug: "dummy-4",
"aws-savings-plans.mdx": {
id: "aws-savings-plans.mdx",
slug: "aws-savings-plans",
body: string,
collection: "blog",
data: any
} & { render(): Render[".mdx"] },
"dummy-5.mdx": {
id: "dummy-5.mdx",
slug: "dummy-5",
"consents-example.mdx": {
id: "consents-example.mdx",
slug: "consents-example",
body: string,
collection: "blog",
data: any
} & { render(): Render[".mdx"] },
"dummy-6.mdx": {
id: "dummy-6.mdx",
slug: "dummy-6",
"download-counts-from-google-cloud-storage.mdx": {
id: "download-counts-from-google-cloud-storage.mdx",
slug: "download-counts-from-google-cloud-storage",
body: string,
collection: "blog",
data: any
} & { render(): Render[".mdx"] },
"dummy-7.mdx": {
id: "dummy-7.mdx",
slug: "dummy-7",
"download-install-mac-tutorial.mdx": {
id: "download-install-mac-tutorial.mdx",
slug: "download-install-mac-tutorial",
body: string,
collection: "blog",
data: any
} & { render(): Render[".mdx"] },
"dummy-8.mdx": {
id: "dummy-8.mdx",
slug: "dummy-8",
"easy-integration-of-fusionauth-and-spring.mdx": {
id: "easy-integration-of-fusionauth-and-spring.mdx",
slug: "easy-integration-of-fusionauth-and-spring",
body: string,
collection: "blog",
data: any
} & { render(): Render[".mdx"] },
"dummy-9.mdx": {
id: "dummy-9.mdx",
slug: "dummy-9",
"fusionauth-and-svb.mdx": {
id: "fusionauth-and-svb.mdx",
slug: "fusionauth-and-svb",
body: string,
collection: "blog",
data: any
} & { render(): Render[".mdx"] },
"fusionauth-colorado-company-to-watch.mdx": {
id: "fusionauth-colorado-company-to-watch.mdx",
slug: "fusionauth-colorado-company-to-watch",
body: string,
collection: "blog",
data: any
} & { render(): Render[".mdx"] },
"fusionauth-introduces-pass-wordle.mdx": {
id: "fusionauth-introduces-pass-wordle.mdx",
slug: "fusionauth-introduces-pass-wordle",
body: string,
collection: "blog",
data: any
} & { render(): Render[".mdx"] },
"fusionauth-learning-from-incidents.mdx": {
id: "fusionauth-learning-from-incidents.mdx",
slug: "fusionauth-learning-from-incidents",
body: string,
collection: "blog",
data: any
} & { render(): Render[".mdx"] },
"fusionauth-loves-open-source.mdx": {
id: "fusionauth-loves-open-source.mdx",
slug: "fusionauth-loves-open-source",
body: string,
collection: "blog",
data: any
} & { render(): Render[".mdx"] },
"fusionauth-on-digitalocean-marketplace.mdx": {
id: "fusionauth-on-digitalocean-marketplace.mdx",
slug: "fusionauth-on-digitalocean-marketplace",
body: string,
collection: "blog",
data: any
} & { render(): Render[".mdx"] },
"fusionauth-website-how-we-do-it.mdx": {
id: "fusionauth-website-how-we-do-it.mdx",
slug: "fusionauth-website-how-we-do-it",
body: string,
collection: "blog",
data: any
Expand All @@ -813,16 +855,107 @@ declare module 'astro:content' {
collection: "blog",
data: any
} & { render(): Render[".mdx"] },
"password-day.mdx": {
id: "password-day.mdx",
slug: "password-day",
"multi-tenancy-in-a-single-tenant-architecture.mdx": {
id: "multi-tenancy-in-a-single-tenant-architecture.mdx",
slug: "multi-tenancy-in-a-single-tenant-architecture",
body: string,
collection: "blog",
data: any
} & { render(): Render[".mdx"] },
"new-feature-login-theme.mdx": {
id: "new-feature-login-theme.mdx",
slug: "new-feature-login-theme",
body: string,
collection: "blog",
data: any
} & { render(): Render[".mdx"] },
"new-feature-social-login-facebook-google-twitter.mdx": {
id: "new-feature-social-login-facebook-google-twitter.mdx",
slug: "new-feature-social-login-facebook-google-twitter",
body: string,
collection: "blog",
data: any
} & { render(): Render[".mdx"] },
"nextjs-and-fusionauth-passwordless.mdx": {
id: "nextjs-and-fusionauth-passwordless.mdx",
slug: "nextjs-and-fusionauth-passwordless",
body: string,
collection: "blog",
data: any
} & { render(): Render[".mdx"] },
"nextjs-single-sign-on.mdx": {
id: "nextjs-single-sign-on.mdx",
slug: "nextjs-single-sign-on",
body: string,
collection: "blog",
data: any
} & { render(): Render[".mdx"] },
"onelogin-and-fusionauth.mdx": {
id: "onelogin-and-fusionauth.mdx",
slug: "onelogin-and-fusionauth",
body: string,
collection: "blog",
data: any
} & { render(): Render[".mdx"] },
"password-history.mdx": {
id: "password-history.mdx",
slug: "password-history",
body: string,
collection: "blog",
data: any
} & { render(): Render[".mdx"] },
"quick-comparison-ping-identity-and-fusionauth.mdx": {
id: "quick-comparison-ping-identity-and-fusionauth.mdx",
slug: "quick-comparison-ping-identity-and-fusionauth",
body: string,
collection: "blog",
data: any
} & { render(): Render[".mdx"] },
"remix-demo.mdx": {
id: "remix-demo.mdx",
slug: "remix-demo",
body: string,
collection: "blog",
data: any
} & { render(): Render[".mdx"] },
"see-you-at-kcdc-2023.mdx": {
id: "see-you-at-kcdc-2023.mdx",
slug: "see-you-at-kcdc-2023",
body: string,
collection: "blog",
data: any
} & { render(): Render[".mdx"] },
"single-sign-on-laravel-fusionauth.mdx": {
id: "single-sign-on-laravel-fusionauth.mdx",
slug: "single-sign-on-laravel-fusionauth",
body: string,
collection: "blog",
data: any
} & { render(): Render[".mdx"] },
"switchboard-reduced-migration-time.mdx": {
id: "switchboard-reduced-migration-time.mdx",
slug: "switchboard-reduced-migration-time",
body: string,
collection: "blog",
data: any
} & { render(): Render[".mdx"] },
"using-the-setup-wizard.mdx": {
id: "using-the-setup-wizard.mdx",
slug: "using-the-setup-wizard",
body: string,
collection: "blog",
data: any
} & { render(): Render[".mdx"] },
"using-user-actions.mdx": {
id: "using-user-actions.mdx",
slug: "using-user-actions",
body: string,
collection: "blog",
data: any
} & { render(): Render[".mdx"] },
"some-other-day.mdx": {
id: "some-other-day.mdx",
slug: "some-other-day",
"winning-customer-auth-market.mdx": {
id: "winning-customer-auth-market.mdx",
slug: "winning-customer-auth-market",
body: string,
collection: "blog",
data: any
Expand Down
36 changes: 36 additions & 0 deletions astro/MIGRATION-README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Steps:
* For each of your posts:
* `git mv` the file from `site/_posts` to `astro/src/content/blog`
* Give it a new name with a `.mdx` suffix and no date. `2018-09-11-fusionauth-website-how-we-do-it.md` => `fusionauth-website-how-we-do-it.mdx`
* For reference in this case `fusionauth-website-how-we-do-it` is the "slug".
* Update the frontmatter.
* Replace `excerpt_separator: "<!--more-->"` with `excerpt_separator: "{/* more */}"`
* most anything could work here but astro will complain about the `<!--more-->` tag specifically, if you have a good reason you can use something else
Expand Down Expand Up @@ -50,3 +51,38 @@ Steps:

* do not check in astro/.astro/types.d.ts
* You can use `src/blog-migrate-firstpass.sh site/_posts/2018-09-18-amazon-cognito-and-fusionauth-comparison.md` to do a first pass of a move.
* You can include other markdown pages if you need

```jsx
// Conent is the conent of the file https://docs.astro.build/en/guides/markdown-content/#the-content-component
import { Content as Install } from '../../components/blog/install-fusionauth.md';
...
// use it
<Install />
```

## Handy find-replace regex

### Remote code (remember to import the RemoteCode component!)
you'll need to add the lang after

find:
```regexp
.*```.*\n.*remote_include (.*) %}.*\n```.*
```

replace:
```regexp
<RemoteCode url="$1" lang="" />
```

### Image (assuming you moved to the appropriate section from blogs to blogs)
find:
```regexp
.*include \_image\.liquid src="\/assets\/(.*)" alt="(.*)" c.*
```

replace:
```regexp
![$2](/$1)
```
File renamed without changes
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
Next, register the user for the application. Navigate to the "Users" tab and find your user. Click on the black "Manage
User" button under the "Action" heading in the list. You'll end up at the details page:

{% include _image.liquid src="/assets/img/blogs/includes/fusionauth/register-user.png" alt="The user details screen,
where you can register them." class="img-fluid" figure=true %}
![The user details screen, where you can register them.](/img/blogs/includes/fusionauth/register-user.png)

Click "Add registration" to register the user in `your_application`.

{% include _image.liquid src="/assets/img/blogs/includes/fusionauth/add-registration.png" alt="Adding the user
registration." class="img-fluid" figure=true %}
![Adding the user registration.](/img/blogs/includes/fusionauth/add-registration.png)

If users of this application have unique configuration details, such as a username, timezone, or languages, which are
different from the user's defaults, you could configure them here.
Expand Down
15 changes: 15 additions & 0 deletions astro/src/components/blog/sso/setup.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
To set up the application, navigate to the [FusionAuth admin UI](http://localhost:9011/admin) and select "Applications" on the left-hand navigation bar:

![Set up the application.](/img/blogs/includes/fusionauth/set-up-the-application.png)

Then click on the "+" button on the top right of the "Applications" page and fill in the "Name" field with a name of your choosing (here, it's **"your_application"**):

![Name your application.](/img/blogs/includes/fusionauth/name-the-application.png)

You can leave all the other fields empty because FusionAuth will choose a default value for those fields. Go ahead and save the application in order for the Client Id details to be generated.

Access the "Application" page again and click on the "Edit Applications" icon (a little edit/notepad icon):

![The list of applications. The edit icon is the blue pencil/notepad.](/img/blogs/includes/fusionauth/edit-application.png)

On the "Edit Application" page, click on the "OAuth" tab at the top. You'll need to get some information from this page.
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import Aside from '../../../components/Aside.astro';

Once the FusionAuth service is started, open a browser and access [http://localhost:9011/](http://localhost:9011/), where you'll be taken to the **"FusionAuth Setup Wizard"**, as seen in the image below.

{% include _image.liquid src="/assets/img/blogs/includes/fusionauth/setup-wizard.png" alt="FusionAuth setup wizard." class="img-fluid" figure=true %}
![FusionAuth setup wizard.](/img/blogs/includes/fusionauth/setup-wizard.png)

Fill in the admin user account details, read and accept the License Agreement. When you are ready, click **"Submit"**.

{% include _callout-tip.liquid content="Learn more about the [Setup Wizard here](https://fusionauth.io/docs/v1/tech/tutorials/setup-wizard)." %}
<Aside type="tip">Learn more about the [Setup Wizard here](https://fusionauth.io/docs/v1/tech/tutorials/setup-wizard).</Aside>

After submitting, you'll be taken to a login screen where you need to fill in the credentials you specified during the setup wizard and sign in to the FusionAuth administrative user interface. Later, you'll use the same admin account for testing the SSO of the application.
Loading

0 comments on commit 8322cb3

Please sign in to comment.