Skip to content

Commit

Permalink
Update blog/2023-08-04-oauth-plugin/index.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: Kyle Kelley <[email protected]>
  • Loading branch information
Matt Kafonek and rgbkrk authored Aug 3, 2023
1 parent 18e8aca commit 372af7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blog/2023-08-04-oauth-plugin/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ A compounding problem was that we were enforcing email verification for username

![Bad Times](./bad_times.svg)

Our solution was to create a second database table we called Principals to represent the login mechanism. A Google, Github, or Auth0 username/password login with the same email all link to the same User account now. We reconfigured our ChatGPT manifest file to proxy the authorize and token endpoints through our plugin so that we could automatically create or link Noteable accounts during the OAuth flow. And we moved the email verification onto our own system instead of within an Auth0 rule, with error handling in the plugin to tell the user that while they did successfully install the Noteable ChatGPT plugin, they still need to click the email verification link before it will successfully create Notebooks or run code for them.
Our solution was to create a second database table we called Principals to represent the login mechanism. A Google, Github, or Auth0 username/password login with the same email all link to the same User account now. We reconfigured our ChatGPT manifest file to proxy the authorize and token endpoints through our plugin so that we could automatically create or link Noteable accounts during the OAuth flow. We moved the email verification onto our own system instead of within an Auth0 rule, with error handling in the plugin to tell the user that while they did successfully install the Noteable ChatGPT plugin, they still need to click the email verification link before it will successfully create Notebooks or run code for them.

![Good Times](./good_times.svg)

Expand Down

0 comments on commit 372af7e

Please sign in to comment.