Azure-Samples / Azure-Samples/ms-identity-blazor-server
Blazor dotnet 6 with AzureADB2C works- migrate to dotnet7 - login displays and redirect loops
- Dominant language
- C#
- Stars
- 57
- Forks
- 34
- PR merge metrics
- No merged PRs in 30d
Description
> 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
- [x ] regression (a behavior that used to work and stopped in a new release)
```
Does the fact we are using donet 70 required code changes or config changes from dotnet 6.0 ?
### Minimal steps to reproduce
>
Visual studio 22
Create blazor app server
DotNet 6.0
add AzureAD b2s microsoft identity
configure for email and password login on localhost
Set the azure login off a button click not to automatically appaer at start
test login...
update project to donet 7.0
start
b2c login popsup
login same as above goes into redirect loop
### Any log messages given by the failure
>
not log but is this the issue: "client-SKU=ID_NET6_0&x-client-ver=6.30.0.0":
https://......b2clogin.com/..../b2c_1_signupsigninpolicy001/oauth2/v2.0/authorize?client_id=f9f84e08-4bdf-4234-b24e-f7c3eb7621eb&redirect_uri=https%3A%2F%2Flocalhost%3A7060%2Fsignin-oidc&response_type=id_token&scope=openid%20profile&response_mode=form_post&nonce=638214147583122404.YWIyMzBiYzgtOWFjOC00MmVlLThmMjItYWQzMTYxZTQwOGY5MzNkNWY5ZTYtZWJiMS00OTAxLWEyNmEtYzM1NjI4MTVhOGUw&client_info=1&x-client-brkrver=IDWeb.2.11.0.0&state=CfDJ8F-ljG3ZZLZEskFlcj5jpaOW3Xc8UGsUk9ryFakSZtGvzs_WtLzo2pcwcv7VsgmnfGCTE46CnkScX2-06zqAT1kOjY0mHMwxjBJJF-_3cGMpXxsk2tutEaf1I9dwARf4-_Q5DABzYGkhjCyYhJpBqOvQgm2IZWB4RrqXpGBS4uWmlnPK4Jlqy4U4H9Bf90lRbfCtxXgu8OJpHtTbMWbMaeUL7BGFzKWD3xRUjIDD7T8255mMgeHyufxUM6QJZefV3r8r6fzJ3kRTRAbatzursx2In-pmJPJTtJ6ekWWigeIBkwPhZvnVdufjQNA3M3PX4A&x-client-SKU=ID_NET6_0&x-client-ver=6.30.0.0
### Expected/desired behavior
>
B2c login to not popup until click signin
no redirect issue same
### OS and Version?
> Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)
Dev machine Windows 11,
### Versions
> 2.11
### Mention any other details that might be useful
> ---------------------------------------------------------------
> Thanks! We'll be in touch soon.

please see this video you and if you can delete it soon due to private info in the video
https://www.screencast.com/t/j5GJdjuGhF

Contributor guide
Assessment
This issue has not been assessed yet.