question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Clarify auth plan for Blazor web project template

See original GitHub issue

In recent discussions, it was unclear what is committed for delivery here. Will the new Blazor web project template have auth options? If so, which ones?

Is any other integration needed between Blazor fullstack with ASP.NET Core auth? Is there an IAuthenticationStateProvider in place that just works? Is this meant to have any integration with interactive server/WebAssembly components?

Issue Analytics

  • State:open
  • Created 3 months ago
  • Reactions:4
  • Comments:15 (11 by maintainers)

github_iconTop GitHub Comments

2reactions
markushaslingercommented, Jul 26, 2023

EDIT: In case anyone else finds this - I got a response from @danroth27 who clarified that the whole auth story is scheduled for rc1 now, which answers my question below.

@mkArtakMSFT is the delay only for the template part or the required packages as well? I don’t mind manually cobbling it together, so having it in the template right away is not that important.

But having the parts and being able to integrate auth is pretty essential since its integrated everywhere, from the beginning. We are planning to start implementing with preview 6 or 7 the latest - I know that’s a little early, but it’s so close to RC and I really don’t want to lock in on the old model for this new project. If you won’t be able to ship the auth packages before the RC (😭), is there at least a recommendation how to implement it (based on Blazor server style, the only thing that kind-of works at the moment) to have a somewhat manageable upgrade path? What I mean: is there a PR, branch or proposal somewhere how it’s going to look?

1reaction
markushaslingercommented, Jul 16, 2023

I’d like to +1 that working basic auth with a transparent transition between server and wasm is needed and I very much hope you’ll manage to get it in for 8.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Custom Authentication in Blazor WebAssembly - Step-By- ...
That's all to do in the Shared Project. Now we have classes to help hold authentication parameters. In this tutorial, we will go...
Read more >
Secure a hosted ASP.NET Core Blazor WebAssembly app ...
To create a new Blazor WebAssembly project with an authentication mechanism: Create a new project. Choose the Blazor WebAssembly App template.
Read more >
Blazor hosted - authorize immediately before displaying ...
I want the experience that a user must log in before accessing the application at all. My starting point is the Blazor Webassembly...
Read more >
Identity with a .NET 6 Web API & Blazor WebAssembly
NET 6 Web API & Blazor WebAssembly 03:39 Create the Project 06:11 ... to get the current User's Authentication State MANY THANKS TO...
Read more >
How to Build and Secure Web Applications with Blazor
Learn how to build client-side Web apps using Blazor and how to secure them with Auth0 authentication and authorization features.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found