question

paf2021 avatar image
0 Votes"
paf2021 asked JamesHamil-MSFT answered

Using Cypress with MSAL 2.0 (bypassing SSO)

Good morning,

My frontend application is using MSAL + AD. I'm trying to run Cypress but when I emulate the logging with msal I'm getting this error. My account is username@companyName.com (I'm under a company's domain) . Maybe that's the problem? It's unable to redirect if I run msal on cypress this way? Any help?

142529-microsoftteams-image.png



azure-ad-msal
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

JamesHamil-MSFT avatar image
0 Votes"
JamesHamil-MSFT answered

Hi @paf2021 , this may be an issue caused by Federated login, if you have it enabled. Please look over this thread and see if it resolves your issue. You might need to try creating a new account to test as Amanpreet suggested. If this does not fix the error it is likely caused by something else. Please let me know if this works.

Best,
James


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.