Skip to content

Enter a valid email address, phone number or Skype name #3023

Description

@KarimMousa89

Copilot Usage Confirmation

  • I have tried using GitHub Copilot to resolve this issue.

MSAL Version

2.13.0

Description

I'm getting "Enter a valid email address, phone number or Skype name" error message when try to login using MSAL v2.13.0. However I'm already using a valid email.

if I used another email then back to the original email it works fine.
Also if I dismissed the login view, then open it again and used the same email it works fine.
Also sometimes if I erased the email text field then wrote the same email again it works fine.

Error Details

Enter a valid email address, phone number or Skype name

MSAL Logs

No logs, App crash when try to login after setting "MSALGlobalConfig.loggerConfig.setLogCallback" once in the app launch.

Reproduction Steps

Normal login process

  1. create MSALPublicClientApplicationConfig using clientId, redirectUri, authority
  2. create MSALPublicClientApplication
  3. create MSALWebviewParameters using my view controller, authenticationSession, prefersEphemeralWebBrowserSession = true
  4. create MSALInteractiveTokenParameters
  5. call applicationContext.acquireToken

Expected Behavior

the email is correct and login should succeed

Regression

1.9.0

Screenshots & Screen Recordings

Image

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions