# 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).

![](https://1532429786-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FJWBnQbpPhY5ZKD2AIy%2Fuploads%2Fw9xOCQFGLC7pyAqoXR2T%2Fimage.png?alt=media\&token=41be0395-d08f-4512-a0a5-8e2457554672)

![](https://1532429786-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FJWBnQbpPhY5ZKD2AIy%2Fuploads%2FhNFw78rX6vqerI3vO2xt%2Fimage.png?alt=media\&token=733996a8-0472-4322-a3de-12beed6ea5c1)
