rfc icon indicating copy to clipboard operation
rfc copied to clipboard

Server Side Rendering

Open loks0n opened this issue 1 year ago • 2 comments

loks0n avatar Aug 31 '23 14:08 loks0n

Can we try and redirect OAuth flow back to the SSR server itself with relevant params (including a secret) on a dedicated route and use it to set the local cookie in a similar way to what we do for a regular session?

eldadfux avatar Sep 18 '23 12:09 eldadfux

Can we try and redirect OAuth flow back to the SSR server itself with relevant params (including a secret) on a dedicated route and use it to set the local cookie in a similar way to what we do for a regular session?

Are you suggesting to replace the redirect from the OAuth2 provider to Appwrite with OAuth2 to SSR? The Appwrite session is not yet created at this point, and therefore the server would still need to exchange the temporary token

loks0n avatar Sep 20 '23 10:09 loks0n