K_VasenOriginal post
Rank 1: Thread
I logged out currently logged in user.
I tried to create OAuth2Session with github as provider. It redirected to github page and... Redirected to success url which was given in function. I had given Authorization callback in github as the one which was given by Appwrite console... When I get user.. It is showing guests has no scope to account
Summary
The user is having trouble with the createOAuth2Session function not attaching the session object to the client. It seems like the issue might be due to a 3rd party cookie problem. The suggested solution for local development is to change browser settings to enable 3rd party cookies. For production, the user will need to use custom domains. However, the user also mentions that they logged out the currently logged-in user and tried to create an OAuth2Session with GitHub as the provider. After being redirected to the GitHub page, the user was redirected to the success URL provided in the function. When trying to get the user, it is