simpleidserver / SimpleIdServer

OpenID, OAuth 2.0, SCIM2.0, UMA2.0, FAPI, CIBA & OPENBANKING Framework for ASP.NET Core
https://simpleidserver.com/
Apache License 2.0
686 stars 90 forks source link

IdServer - Supports AccessTokenType (JWT or Reference) #640

Closed simpleidserver closed 7 months ago

qq1176914912 commented 7 months ago

When the client configuration token type is Reference image When the client configuration token type is Reference, ids (5001) and client(5555) login will report errors image image Do we need to set up other things? In my understanding of ids, if using the Reference mode, ApiSecrets needs to be configured to access the API. image

simpleidserver commented 7 months ago

The issues have been resolved in the 'master' branch. Could you please try again?

Additionally, it is now possible to include the role in the access token (Ticket #641).

Please follow these steps to add the role to the access token:

1 Navigate to the 'Scopes' screen and choose the 'role' scope. 2 Click on the 'Mappers' tab and select the first mapping rule, named 'role.' 3 Choose 'Include in Access Token' and click the 'Save' button.

image

qq1176914912 commented 7 months ago

The issues have been resolved in the 'master' branch. Could you please try again?

Additionally, it is now possible to include the role in the access token (Ticket #641).

Please follow these steps to add the role to the access token:

1 Navigate to the 'Scopes' screen and choose the 'role' scope. 2 Click on the 'Mappers' tab and select the first mapping rule, named 'role.' 3 Choose 'Include in Access Token' and click the 'Save' button.

image

Reference Yes, the client can now log in normally. Role Yes, now I can add roles to the accesstoken, and this change is great.