Coder Social home page Coder Social logo

Comments (2)

jsklassen avatar jsklassen commented on August 23, 2024 1

In chrome it returns

{ "issuer": "https://identityservertestprovider.cloudapp.net/", "jwks_uri": "https://myserver/.well-known/jwks", "authorization_endpoint": "https://myserver/connect/authorize", "token_endpoint": "https://myserver/connect/token", "userinfo_endpoint": "https://myserver/connect/userinfo" }

if I place that in assets/data/wellknownconfiguration.json and then add

implicitFlow.override_well_known_configuration = true; implicitFlow.override_well_known_configuration_url = 'http://localhost:4200/assets/data/wellknownconfiguration.json';

Firefox, Chrome, and IE all work. This got me to the actual login page where Firefox again complained that the internal qa url had an invalid cert.

image

I clicked Add Exception and it let me continue to the page. The login page and wellknown redirect to the same domain. So wellknown was silently failing with this cert error but couldn't display the page to do something about it.

Now removing the override_well_known_configuration and override_well_known_configuration_url settings Firefox works consistently. Once trusted the wellknown json pulls down correctly.

Thank you for the prompt response. Apologies for the unrelated issue.

from angular-auth-oidc-client.

damienbod avatar damienbod commented on August 23, 2024

This seems strange. I'll look into it. The implicitFlow.override_well_known_configuration and implicitFlow.override_well_known_configuration_url properties are only required, if the STS server does not support this for browser clients. These properties make it possible to load the configuration locally.

What does the well known endpoints HTTP request return? Can you check this in the network F12?

from angular-auth-oidc-client.

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.