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

BFF with Blazor Web App (dotnet 8) #940

Closed
b1tzer0 opened this issue Oct 10, 2023 · 4 comments
Closed

BFF with Blazor Web App (dotnet 8) #940

b1tzer0 opened this issue Oct 10, 2023 · 4 comments
Assignees

Comments

@b1tzer0
Copy link

b1tzer0 commented Oct 10, 2023

Which version of Duende BFF are you using?
2.1.1

Which version of .NET are you using?
dotnet 8 RC 1

Describe the bug
I understand that dotnet 8 is still a moving target when related to identity and the new format is quite interesting bouncing from SSR to Client Side and such. But when working with BFF, I have been trying to get this to work properly and ran into what might be an issue.

When you call bff/login with enhanced navigation turned off, I get redirected to the login page where I can login. However, when I get redirected back to the page with the authorize attribute a call to bff/user?slide=false returns back that the user is not currently logged in.

See screen shot of logs:
image

You can pull some sample code I had started from here: https://github.com/b1tzer0/BlazorWebApp_DuendeIdentityServer
the Bff stuff has been commented out, just go back into program.cs and re-enabled it. Of course, you will need to set the connection to identity server as well.

Can someone please assist? Thanks

@b1tzer0 b1tzer0 added the BFF label Oct 10, 2023
@AndersAbel
Copy link
Member

I think you described it fairly well yourself:

I understand that dotnet 8 is still a moving target when related to identity and the new format is quite interesting bouncing from SSR to Client Side and such.

We are looking into Blazor for .NET 8 and how to best support it with the BFF, including documentation, but it is still work in progress.

@pm64
Copy link

pm64 commented Feb 1, 2024

Just checking to see if this issue should still be open following the release of https://github.com/DuendeSoftware/IdentityServer/releases/tag/7.0.0?

Specifically, is BFF now supported and documented for all render modes in .NET 8 (static server, interactive server, interactive WASM, and interactive auto)?

@b1tzer0
Copy link
Author

b1tzer0 commented Feb 1, 2024

@pm64, I think that is being targeted for BFF 3.0

@josephdecock
Copy link
Member

@pm64, I think that is being targeted for BFF 3.0

Yes, that's correct. See also my comment here.

There's an open issue in our samples repo that we'll update as we make progress on this, so I'm closing this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants