Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Blazor Server Incremental Consent Issue #847

Closed
7 tasks
Shama-K opened this issue Dec 17, 2020 · 1 comment
Closed
7 tasks

[Bug] Blazor Server Incremental Consent Issue #847

Shama-K opened this issue Dec 17, 2020 · 1 comment
Assignees
Labels
bug Something isn't working fixed
Milestone

Comments

@Shama-K
Copy link
Contributor

Shama-K commented Dec 17, 2020

Where is the issue?

  • Web app
    • Sign-in users
    • [x ] Sign-in users and call web APIs
  • Web API
    • Protected web APIs (validating tokens)
    • Protected web APIs (validating scopes)
    • Protected web APIs call downstream web APIs
  • Token cache serialization
    • In-memory caches
    • Session caches
    • Distributed caches
  • Other (please describe)

Repro

  1. Select test project blazorserver-calls-api in Microsoft.Identity.Web.
  2. Remove scope from this code in Startup.cs, by updating as below:
    services.AddMicrosoftIdentityWebAppAuthentication(Configuration)
    .EnableTokenAcquisitionToCallDownstreamApi()
    .AddInMemoryTokenCaches();
  3. Run the application and Sign-in. Select ToDoList.

Expected behavior
Consent screen should be displayed.

Actual behavior
Requests goes into infinite loop.

Possible solution
Resolved with this Pull Request.

@jennyf19
Copy link
Collaborator

included in 1.5.0 release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed
Projects
None yet
Development

No branches or pull requests

2 participants