Skip to content

API calls for ROPC flow returning wrong response #836

@cosmicboy79

Description

@cosmicboy79

I developed a backend Python MSAL client (version 1.30.0) that uses the ROPC flow in a similar way as exemplified in the sample provided in Microsoft guide, i.e., I am using the acquire_token_by_username_password operation.

My use case is that I have to verify the validity of the users credentials, sequentially, in Azure B2C, by using this operation. This works just fine in most of the cases, but in situations when a high number of requests is sent to my Python client, some of the calls to acquire_token_by_username_password return AADB2C90225 (invalid username/password) as response, even though the credentials are actually correct.

I'd like to understand why this happens, as I said, sometimes. Is there, for example, any limitations on the number of calls to acquire_token_by_username_password that can be done? I could not find this information anywhere.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions