Skip to content

Bug report: Unable to login when password starts with "@" #2466

@Tinathnath

Description

@Tinathnath

Hi PnP !

Following #2134 I'm re-opening the same issue since one of the last versions reintroduced the bug

Description

Worked perfectly in v3.7.0, today I updated to 3.10.0 and I'm not able to login anymore.
Got this as a response:

Error: invalid_grant: 50126 - [2021-05-31 14:46:48Z]: AADSTS50126: Error validating credentials due to invalid username or password.
Trace ID: 7c0d485d-53fa-4c71-bd61-2763dc168b01
Correlation ID: 77a4cc64-329b-4dca-a361-c8f8b211933b
Timestamp: 2021-05-31 14:46:48Z - Correlation ID: 77a4cc64-329b-4dca-a361-c8f8b211933b - Trace ID: 7c0d485d-53fa-4c71-bd61-2763dc168b01

Thanks !

Steps to reproduce

Login with login/password with a password starting with an "@"

Expected result

Login successfull.

Actual result

Login fails with AAD error result.

Environment

  • Computer on Windows 10 + Windows terminal
  • Az Devops pipeline on Linux agent
    Both failed.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions