diff --git a/2022-11-13-custom-md5-auth/README.md b/2022-11-13-custom-md5-auth/README.md index 1af06987..e42d7a39 100644 --- a/2022-11-13-custom-md5-auth/README.md +++ b/2022-11-13-custom-md5-auth/README.md @@ -1,13 +1,17 @@ # How to Implement Custom Auth -Please the the "About" page for a description of this example and how the authentication works. - -TLDR; this is a contrived example of a custom Md5Auth client that implements the needed login, logout, signout, signup, getToken, and getUserMetadata auth provider methods. +This is a contrived example of a custom Md5Auth client that implements the needed login, logout, signout, signup, getToken, and getUserMetadata auth provider methods. On sign up, your a password is generated from a MD5 hash of your username. You can then use this password to login -- and also to be used to authenticate GraphQL requests to protected queries. +Please see the [About](./web/src/pages/AboutPage/AboutPage.tsx) page for a description of this example and how the authentication works. + +## Demo + +Visit [https://rw-office-hours-custom-auth.netlify.app/about](https://rw-office-hours-custom-auth.netlify.app/about) to demo this custom auth example. + # README Welcome to [RedwoodJS](https://redwoodjs.com)! diff --git a/README.md b/README.md index ad7ae465..07a2bf51 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,7 @@ This repo is where these demos and examples live. - [2022-10-19-snaplet-copycat-seeds](2022-10-19-snaplet-copycat-seeds/README.md) - Seed deterministic data with Snaplet's Copycat - [2022-10-26-nested-writes-demo](2022-10-26-nested-writes-demo/README.md) - How To Perform Nested Writes with RedwoodJS and GraphQL - [2022-11-02-og-image-demo](2022-11-02-og-image-demo/README.md) - How to Generate OG Images for Social Cards using Netlify Edge Functions and RedwoodJS MetaTags +- [2022-11-13-custom-md5-auth](2022-11-13-custom-md5-auth/README.md) - How to Implement Custom Auth in RedwoodJS v4 ## Discord Invite Link