Skip to content

Previous Google social login not shown as of 5.0.0-beta.3 #1232

@CodingItWrong

Description

@CodingItWrong

Checklist

Description

On iOS, the web view no longer seems to retain any history of the accounts I'm already logged into. In 5.0.0-beta.1 with additionalParameters: { prompt: "login" } specified I could sign into Auth0 via a Google account, sign out of Auth0, and then the next time I tried to sign in via Google it would let me choose the Google account I previously signed into. But as of beta.3 I need to sign in with my Google username/password each time.

(Videos attached showing beta 1 and beta 3 behavior)

Before After
auth0.login.beta1.mp4
auth0.login.beta3.mp4

Reproduction

  1. Clone this branch locally: https://github.com/CodingItWrong/react-native-auth0/tree/beta-3-login-issue
  2. Follow instructions to set up Auth0 app config pointing to a config with Google social login and install and run app
  3. Sign into a google account
  4. Tap "Log Out" to sign back out of Auth0
  5. Sign in again

EXPECTED: Google shows a list including the previously-signed-in account and "Use another account"
ACTUAL: Google prompts for username/email address

Additional context

In 5.0.0 beta 1 the expected behavior happens. It's only in 5.0.0 beta 3 that this problem begins. It looks like maybe a change to the way the web view works was made, because in the real app I'm using this in as of beta 3 I no longer get the iOS permissions alert "app wants to sign in" etc.

react-native-auth0 version

5.0.0-beta.3

React Native version

0.79.2

Expo version

53.0.9

Platform

iOS

Platform version(s)

18.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis points to a verified bug in the codeiOSUsed to denote issues raised for iOS Platform

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions