Questions tagged [openiddict]
Versatile OpenID Connect stack for ASP.NET Core and Microsoft.Owin (compatible with ASP.NET 4.6.1). For official support, please visit https://github.com/openiddict/openiddict-core/issues/new/choose.
openiddict
503
questions
-1
votes
0
answers
17
views
OpenIdDict / How to use OpenIddictClientService in a WinForms application?
Good Day,
Have a existing .net Framework 4.8/WinForms app, which doesn't use the HostBuilder.
How do I 1) configure 2) use OpenIddictClientService from the code?
Best Regards,
Documentation.
Question ...
0
votes
0
answers
7
views
OpenIddict Claims Issue: The 'active' parameter is malformed or isn't of the expected type
I'm getting the following error on OpenIddict logs. It wasn't happening, and now it is and I can't figure out what is going on.
The event OpenIddict.Validation.OpenIddictValidationEvents+...
0
votes
0
answers
15
views
OpenIddict encrypting of jwt
Using OpenIddict 3, there was a 'enc' value set in the authorization.header, indicating that the accessToken was encrypted.
Now that I've upgraded to OpenIddict 5.6, this value no longer exists (is ...
0
votes
0
answers
47
views
OpenIDDict is not generating tables for .net framework OWIN and entity framework
I am implementing OIDC for my legacy application which is based on .net framework v4.6.2. While following the documentation from OpenIDdict website, it does not create tables which OpenIddict requires....
0
votes
0
answers
20
views
OpenIddict Introspection + .net Aspire (Service Discovery)
I'm trying to get introspection working with .net Aspire Integration tests, which use random ports for everything. In regular mode the port is consistent and thus setting the issuer using the ...
0
votes
1
answer
77
views
How to set refresh token in cookies for OpenIddict Asp.Net Core
I'm learning OpenIddict follow some samples of them but i didn't find how to set response refresh token in cookies and use the cookie to authenticate. The current behavior I make it work is the ...
0
votes
0
answers
51
views
Getting a 404 Not found for OpenIddict even if "The token request was successfully validated."
I am attempting to use OpenIddict to set up a client credentials flow using
services.AddDbContext<MyDbContext>(options =>
{
options.UseOpenIddict();
}
services.AddOpenIddict()
....
0
votes
1
answer
29
views
How to make redirect after logout using OpenIddict?
I have logout endpoint that invalidates user token and should perform redirect to login page after logging user out
[HttpGet("logout")]
[HttpPost("logout")]
[ApiVersion(&...
1
vote
0
answers
36
views
Issue with Error Type Logs in OpenIddict v5.2.0
I am currently experiencing an issue with logging error types while using OpenIddict.
In version 4.8.0, error type logs were correctly captured. However, after upgrading
to the latest version (5.2.0), ...
0
votes
0
answers
14
views
OpenIdDict - ApplicationID and AuhtorizationId in Tokens
I am implementing my data layer for a project I am involved.
I wonder why the Token entity has a reference to the Application Entity and also to the Authorization Entity since the Authorization Entity ...
0
votes
1
answer
53
views
Problem mapping OIDC and OAuth 2.0 concepts to my application
I am trying to implement an SSO server so that my ASP.NET Core MVC applications can:
Authenticate users with the SSO server
Get the user's roles and claims from the SSO server
Every T minutes I want ...
0
votes
2
answers
93
views
Easy way to administrate (add and remove) OpenIddict clients?
I'm using the latest version (5.6.0) of the NuGet package OpenIddict in an ASP.NET Core project with .NET 8. They have an example on https://documentation.openiddict.com/guides/getting-started/...
0
votes
1
answer
39
views
Using FindByResourceAsync in IOpenIddictScopeManager
I need to use IOpenIddictScopeManager.FindByResourceAsync to retrieve scopes associated with a resource, I only need the scope name not the whole descriptor object, but the return type is ...
0
votes
1
answer
87
views
Localhost authorize page not found
I have a single monolith application running on ASP.NET Core using ABP.IO framework. Currently having a problem with authorization with swagger UI. It was working fine but suddenly not.
When i click ...
0
votes
1
answer
76
views
OpenIddict Certificates - System.Security.Cryptography.CryptographicException: Bad Data
I have an API Web Application hosted in azure (free tier) using OpenIddict for authorization.
I am in the process of trying to setup OpenIddict in the hosted environment to use 2 self signed ...