Hi,
I'm trying to do oAuth login by google in my Flutter app. And I still have a problem with logging on the application side.
After logging in to google, I see in the Appwrite panel that an account and session have been created.
Should I then use the method:
account.get() or account.getSession('current') to check if the user is actually logged in? and move to the appropriate screen.
When I use the account.getSession('current') method I get the right data, but when I use account.get() I get error 401 (missing scope).