Comments (2)
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.
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.
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)
- [Question]: checking token validity before sending HTTP requests
- [Question]: Angular 18 Standalone sample app HOT 1
- [Question]: Is it possible to not validate the `code` parameters when requesting `authorize` (authorization endpoint) from the API?
- [Question]: How to build a `PartialRoutesGuard` without auto-login
- [Question]: Unable to find eagerLoadAuthWellKnownEndpoints in version 18.0.0
- [Bug]: Expected double-quoted property name in JSON at position 709 HOT 2
- [Bug]: AutoLoginPartialRoutesGuard is not trying to silentRenew if refresh token still valid HOT 2
- [Question]: How can I use urlHandler when using authorizeWithPopUp, is it supported in popup?
- [Question]: How can i use it with oidc-provider
- [Question]: Async provider loader with provideAuth HOT 3
- [Question]: Is there a handler for when the refresh token process returns id_token?
- [Question]: Angular 18 SSR
- [Bug]: Potential Infinite IFrame Creation When 'checkSessionIframe' Is undefined
- [Question]: Implementing Custom Storage in standalone api HOT 2
- [Feature Request]: Custom auth header
- [Question]: Error handling support with Azure
- [Bug]: Silent renew failed with error: invalid_grant HOT 1
- Documentation website down HOT 2
- [Bug]: Wellknown endpoints completely overwrite the authWellknownEndpoints configuration
- [Bug]: Firefox login crashes : this.cryptoService.getCrypto().subtle is undefined HOT 2
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 angular-auth-oidc-client.