Skip to content

Commit

Permalink
docs: fix info card rendering in oauth-tutorial.mdx (#7662)
Browse files Browse the repository at this point in the history
Info box is not being rendered; the raw `:::info` is displayed. Blind guess: it needs a blank line before it.
  • Loading branch information
grahampcharles committed May 29, 2023
1 parent 17e2c2f commit a47b4ce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/docs/getting-started/oauth-tutorial.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -243,10 +243,13 @@ http://localhost:5173/auth/callback/github
TODO Core
</TabItem>
</Tabs>

:::info
The last part of the URL, `[provider]`, is the ID of the provider you're using. In this case, we're using GitHub, so it's `github`. If you're using Google, it'll be `google`, etc... We keep track of the provider IDs internally.

The same id is used in the `signIn()` method we saw earlier.
:::

To register, tap on "Register application" button.

The next screen shows all the configurations for your newly created OAuth app. For now, we need two things from it - the **Client ID** and **Client Secret**:
Expand Down

1 comment on commit a47b4ce

@vercel
Copy link

@vercel vercel bot commented on a47b4ce May 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.