Coder Social home page Coder Social logo

_Host in the Server project about todoapi HOT 5 OPEN

davidfowl avatar davidfowl commented on May 21, 2024
_Host in the Server project

from todoapi.

Comments (5)

davidfowl avatar davidfowl commented on May 21, 2024

This is why. The social providers are statically rendered from the server into the page.

from todoapi.

famda avatar famda commented on May 21, 2024

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.

famda avatar famda commented on May 21, 2024

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.

davidfowl avatar davidfowl commented on May 21, 2024

@famda What are you trying to do? Use auth on the WASM side?

from todoapi.

famda avatar famda commented on May 21, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.