You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello I am using deno_kv_oauth for my application and am trying to do the following:
I want users to a have an internal uid that is the same format between oauth providers.
Here is the logic flow I want to create:
User signs in via oauth ->
Redirected to callback page ->
if an existing user -> redirect to homepage
if not an existing user -> create a new internal user KV / id <- problem!
I can't seem to find a way to figure out how to return a different redirect and save the cookies.
(also I am using Hono but I do not think that is the problem?)
The text was updated successfully, but these errors were encountered:
FWIW I hacked together a way to do this by adding cookies and a conditional redirect on "/" . But I think this would be a nice feature to add either way
Hello I am using deno_kv_oauth for my application and am trying to do the following:
I want users to a have an internal uid that is the same format between oauth providers.
Here is the logic flow I want to create:
User signs in via oauth ->
Redirected to callback page ->
if an existing user -> redirect to homepage
if not an existing user -> create a new internal user KV / id <- problem!
I can't seem to find a way to figure out how to return a different redirect and save the cookies.
(also I am using Hono but I do not think that is the problem?)
The text was updated successfully, but these errors were encountered: