> For the complete documentation index, see [llms.txt](https://docs.loginwithlink.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.loginwithlink.com/oidc-oauth-hosted-login-page/oidc-oauth.md).

# OIDC / OAuth

To do!

See also

* <https://accounts.google.com/.well-known/openid-configuration>&#x20;
* <https://next-auth.js.org/configuration/providers/oauth>&#x20;

\[ToDo] Basically just clone shop.markmoriarty.com and strip out all the non-auth pages (/users, /protected, etc.) — leave the "login page" and redirect after login. Rough schematic (replace GitHub with LoginWithLink).

![](/files/aK20DT7yXw3S0iavwKku)

![](/files/nerEbgI6i2r28ttAR6H9)
