Code Monkey home page Code Monkey logo

Comments (4)

henalbrod avatar henalbrod commented on August 10, 2024

Hi, could you please elaborate or give some example of the potential use cases that would require this features? Thanks.

from blazor.auth0.

megafetis avatar megafetis commented on August 10, 2024

Hello! In ClientOptions.cs:

public bool UseHttps { get; set; } = true;

In AuthenticationServiceBase.cs:

// in constructor
this._protocol = settings.UseHttps ? "https" : "http";

// when generating auth url
var url = $"{_protocol}://{clientSettings.Auth0Domain}/authorize?" + "...";

Use cases - my test identity server is working without https in test mode

from blazor.auth0.

henalbrod avatar henalbrod commented on August 10, 2024

Hi,

I'm afraid the auth URL cannot be other than https (even if you call it via http it redirects to https).

You said your test identity server is http only, I would like to know, how the https endpoint is affecting your implementation?

Regarding the client secret:

Currently, the component doesn't requires it, even the core hosted example uses the intrisic behavior of .Net authentication to verify the token signature.

If the client secret is something you require in your implementation then I can recommend you to use .Net Secrets or including it via environment variables.

from blazor.auth0.

henalbrod avatar henalbrod commented on August 10, 2024

Closing this as no new comments were added

from blazor.auth0.

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.