Skip to content

If signed in with Google provider, signOut does not sign out of the provider #78

Open
@stevebread

Description

@stevebread

Bug report

Describe the bug

When signed in with Google as the provider on an Android device, signOut() ends the Supabase session but does not log out from the provider as well.

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

Sign in setup

SupaSocialsAuth(
	socialProviders: const [OAuthProvider.google],
	nativeGoogleAuthConfig: const NativeGoogleAuthConfig(webClientId: '...'),
	onSuccess: (Session session) {},
)

Sign out action
Supabase.instance.client.auth.signOut()

  1. On first sign-in on an Android device, an account chooser is displayed
  2. Select an account from the list and login
  3. Sign out and return to the login screen
  4. Sign in again. This time the login completes without presenting the account chooser

Expected behavior

On sign-in after a sign-out, the account chooser should be displayed again.

System information

  • OS: Android 14
  • supabase_auth_ui: 0.4.3

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions