Comments (5)
This is why. The social providers are statically rendered from the server into the page.
from todoapi.
I see. I was looking into the blazor docs and this and thinking in a way to add authorization into the pages.
But I need to read more about this. Mainly because of that CurrentUser being rendered like that.
I need to think a little more.. 😆
Thanks man!
from todoapi.
After reading some more, the only way the Authorization part in the client project would work is to create a custom AuthorizationStateProvider to handle this.
After some tries I'm was not yet able to make it to work.
@davidfowl am I thinking wrong?
Would you provide some guidance on this?
from todoapi.
@famda What are you trying to do? Use auth on the WASM side?
from todoapi.
Hey @david,
Yes. Basically, I've created a AuthorizationStateProvider to handle the authorization on the wasm side.
But my implementation looks a little crappy.. 😆
from todoapi.
Related Issues (20)
- Open Telemetry Exporters HOT 3
- Question : What does the todo.http file do? HOT 2
- Deploy to *somewhere* HOT 6
- Docker Integration
- Client-side password validation is inaccurate HOT 4
- dotnet ef command fails HOT 1
- Cannot log in: "Signing key is not specified" HOT 2
- What is the advantage of using Otel instead of serilog for logging? HOT 8
- Question about Seq / ES + Kib HOT 4
- Serilog is better when the settings are via config sources HOT 10
- Allow "discussions" for this repo? HOT 1
- SameSite.Strict auth cookie
- GRPC Support
- The first run of the application: errors HOT 2
- Upgrade from AddMicrosoftAccount to AddMicrosoftIdentityWebApp
- net8 branch doesn't build HOT 6
- Running the app as multiple startup projects in Visual Studio doesn't work
- Shared Project DTO
- Identity endpoints and authorization HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from todoapi.