Skip to content
This repository was archived by the owner on May 22, 2024. It is now read-only.
This repository was archived by the owner on May 22, 2024. It is now read-only.

TokenExchangeError when trying to sign in while running the tutorial #8

@bayesfactor

Description

@bayesfactor

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

I went through the tutorial, line by line. When I got to the step of running the code, I got the expected splash screen in my browser, with a green button in the top left to Sign In. When I click on that button, I get an error noted below. I get the same error with both options "Yes" or "No" from the Azure portal configuration "Allow public client flows".

Any log messages given by the failure

ms_identity_web.errors.TokenExchangeError: _process_result: auth failed: token request resulted in error
invalid_client: AADSTS700025: Client is public so neither 'client_assertion' nor 'client_secret' should be presented.
Trace ID: 594bc797-111f-440f-a6f5-319836c00201
Correlation ID: a5e8bdb2-f6c8-43e8-8b70-168facbe19a5
Timestamp: 2023-05-09 23:58:04Z

Expected/desired behavior

I would expect to be able to log in

OS and Version?

Windows10

Versions

Mention any other details that might be useful


Thanks! We'll be in touch soon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions