Comments (4)
Can the library take these settings from a openid-configuration endpoint?
Yes, that's how it works by default. You just need to set the Authority
. See the docs here: https://identitymodel.readthedocs.io/en/latest/native/automatic.html. Or have a look at some of the samples: https://github.com/IdentityModel/IdentityModel.OidcClient.Samples
I feel like there's some confusion somewhere (by one of us), so if I'm not understanding the issue, please let us know.
from identitymodel.oidcclient.
Thanks for answering
Yes, the problem is on my side.
oidcclient throwed an "malformed endpoint" exception, but I don't understand what's wrong and what end point it is. Perhaps you could correct the exception text by indicating what exactly the library does not like in the openid-configuration?
Perhaps you can see the error from the json screenshot (first message)
the exception is thrown when I don't specify ProviderInformation
from identitymodel.oidcclient.
oidcclient throwed an "malformed endpoint" exception, but I don't understand what's wrong and what end point it is. Perhaps you could correct the exception text by indicating what exactly the library does not like in the openid-configuration?
I'm not sure what the issue is, but I have a guess that something that's not JSON is returned. This is likely due to that endpoint returning HTML... perhaps due to an error page being shown? The protocol expects JSON from the endpoint.
from identitymodel.oidcclient.
Hello -- any update on this issue?
from identitymodel.oidcclient.
Related Issues (20)
- Google OAuth 2.0 Embedded WebViews
- No RefreshTokenDelegatingHandler when using OidcClient.RefreshTokenAsync() HOT 5
- Annotate .Net 6 Assembly As Trimmable HOT 1
- Latest version of IdentityModel.OidcClient installs deprecated v5 of System.Text.Json on .NET Framework
- Need to change ClientID Dynamically
- Documentation: Exceptions to handle HOT 1
- OdicClient.EnsureProviderInformationAsync(CancellationToken cancellationToken) System.InvalidOperationException:Error loading discovery document: Error connecting to https://<url>/.well-known/openid-configuration/jwks Service unavailable
- Use Microsoft.Extensions.Logging.Abstractions to reduce dependencies HOT 7
- Does IdentityModel.OidcClient support Private Key JWTs with certificates HOT 6
- Upgrade to Wilson 7.x
- Support trimming in IdentityModel.OidcClient.DPoP
- Support trimming in IdentityModel.OidcClient.IdentityTokenValidator
- UWP authentication with Azure AD fail in some devices HOT 1
- Is there a way to have OIDC Client not persist the login on the Duende Oauth server? HOT 4
- Fix client builds HOT 1
- Getting StackOverflowException at JsonDocument.Parse(content!).RootElement HOT 4
- Discovery Document Request does not use Discovery Policy Authority for Request Address
- PAR support
- Make Client Assertions more extensible
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 identitymodel.oidcclient.