-
Notifications
You must be signed in to change notification settings - Fork 80
docs: Add GitHub IDP docs #402
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
docs: Add GitHub IDP docs #402
Conversation
marcelomendoncasoares
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the quick iteration with the docs, @vfiruz97! Docs looks good overall, following the standard of the other IDPs very well. Made a few suggestions to clarify some points and reorganize some details to improve the UX.
On the custom overrides, I think we'll need to convert it into a menu following the same style of the IDPs - after all, it is just like an IDP. The file is currently very long and with parts that can be removed to avoid redundancy.
Ping me back when you are ready for another review!
docs/06-concepts/11-authentication/04-providers/06-github/01-setup.md
Outdated
Show resolved
Hide resolved
docs/06-concepts/11-authentication/04-providers/06-github/01-setup.md
Outdated
Show resolved
Hide resolved
docs/06-concepts/11-authentication/04-providers/06-github/01-setup.md
Outdated
Show resolved
Hide resolved
docs/06-concepts/11-authentication/04-providers/06-github/01-setup.md
Outdated
Show resolved
Hide resolved
docs/06-concepts/11-authentication/04-providers/06-github/01-setup.md
Outdated
Show resolved
Hide resolved
docs/06-concepts/11-authentication/04-providers/10-custom-providers/02-oauth2-utility.md
Outdated
Show resolved
Hide resolved
docs/06-concepts/11-authentication/04-providers/10-custom-providers/02-oauth2-utility.md
Outdated
Show resolved
Hide resolved
docs/06-concepts/11-authentication/04-providers/10-custom-providers/02-oauth2-utility.md
Outdated
Show resolved
Hide resolved
docs/06-concepts/11-authentication/04-providers/10-custom-providers/02-oauth2-utility.md
Outdated
Show resolved
Hide resolved
docs/06-concepts/11-authentication/04-providers/10-custom-providers/02-oauth2-utility.md
Outdated
Show resolved
Hide resolved
|
Hi @marcelomendoncasoares, |
marcelomendoncasoares
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice improvements! A few more comments, specially regarding the OAuth2 utility setup guide. I have answered about the GitHubOAuthCredentials on the comments.
Also, there are a few links that needs fixing after transforming the custom providers into a menu.
Exhaustive list of all broken links found:
- Broken link on source page path = /next/concepts/authentication/basics:
-> linking to providers/custom-providers (resolved as: /next/concepts/authentication/providers/custom-providers)
- Broken link on source page path = /next/concepts/authentication/providers/custom-providers/oauth2-utility/oauth2-utility-basic:
-> linking to ../github/setup (resolved as: /next/concepts/authentication/providers/custom-providers/github/setup)
- Broken link on source page path = /next/concepts/authentication/providers/custom-providers/overview:
-> linking to ./oauth2-utility (resolved as: /next/concepts/authentication/providers/custom-providers/oauth2-utility)
docs/06-concepts/11-authentication/04-providers/06-github/01-setup.md
Outdated
Show resolved
Hide resolved
docs/06-concepts/11-authentication/04-providers/06-github/02-configuration.md
Outdated
Show resolved
Hide resolved
docs/06-concepts/11-authentication/04-providers/06-github/01-setup.md
Outdated
Show resolved
Hide resolved
.../11-authentication/04-providers/10-custom-providers/01-oauth2-utility/02-complete-example.md
Outdated
Show resolved
Hide resolved
.../11-authentication/04-providers/10-custom-providers/01-oauth2-utility/02-complete-example.md
Outdated
Show resolved
Hide resolved
...authentication/04-providers/10-custom-providers/01-oauth2-utility/01-oauth2-utility-basic.md
Outdated
Show resolved
Hide resolved
...authentication/04-providers/10-custom-providers/01-oauth2-utility/01-oauth2-utility-basic.md
Outdated
Show resolved
Hide resolved
...authentication/04-providers/10-custom-providers/01-oauth2-utility/01-oauth2-utility-basic.md
Outdated
Show resolved
Hide resolved
...authentication/04-providers/10-custom-providers/01-oauth2-utility/01-oauth2-utility-basic.md
Outdated
Show resolved
Hide resolved
...authentication/04-providers/10-custom-providers/01-oauth2-utility/01-oauth2-utility-basic.md
Outdated
Show resolved
Hide resolved
|
Hi @marcelomendoncasoares, We removed |
A fresh PR is better. I think it make sense to already bundle the referenced changes from the discussion on the Twitch PR! |
marcelomendoncasoares
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work! Changes are complete now, with only two minor fixes. I'll just wait for the changes on the GitHubIdpConfig and OAuth2PkceTokenResponse to approve.
docs/06-concepts/11-authentication/04-providers/06-github/02-configuration.md
Outdated
Show resolved
Hide resolved
...iders/10-custom-providers/02-oauth2-utility/02-creating-an-oauth2-based-identity-provider.md
Show resolved
Hide resolved
Cool! I will address the comments soon. I opened a PR regarding |
marcelomendoncasoares
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since the other PR is nearly done, I'll already approve this one! Just please review if the latest changes on serverpod/serverpod#4676 require changing anything on the Creating an OAuth2-based Identity Provider guide.
Cool! Yeah I will do small adjusting on the |
|
I made a small tweak related to the changes in serverpod/serverpod#4676. Whether we expose |
Nice! Feature complete, then!! 🎉 |
Docs serverpod/serverpod#4546.
@marcelomendoncasoares, please, review.