IdentityServer4 icon indicating copy to clipboard operation
IdentityServer4 copied to clipboard

Adding Custom values in Identity Server 4 Connect/token endpoint

Open shoaibismailAppify opened this issue 3 years ago • 3 comments

i have implemented the Identity server 4 .. one thing on which i am stuck is currently connect/token endpoint provides the following fields

{ "id_token": "id toekn value", "access_token": "access token value", "token_type": "Bearer", "refresh_token": "a refresh token", "scope": "some scopes" }

however i want to add some more fields in this like

{ "id_token": "id toekn value", "access_token": "access token value", "token_type": "Bearer", "refresh_token": "a refresh token", "scope": "some scopes", "id":"any id", "url":"any url" }

any way to intercept this call and add custom fileds???

shoaibismailAppify avatar Aug 16 '22 17:08 shoaibismailAppify

@leastprivilege any help on this???

shoaibismailAppify avatar Aug 17 '22 05:08 shoaibismailAppify

Important update

This organization is not maintained anymore besides critical security bugfixes (if feasible). This organization will be archived when .NET Core 3.1 end of support is reached (3rd Dec 2022). All new development is happening in the new Duende Software organization.

The new Duende IdentityServer comes with a commercial license but is free for dev/testing/personal projects and companies or individuals making less than 1M USD gross annnual revenue. Please get in touch with us if you have any question.

leastprivilege avatar Aug 17 '22 08:08 leastprivilege

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Questions are community supported only and the authors/maintainers may or may not have time to reply. If you or your company would like commercial support, please see here for more information.

stale[bot] avatar Sep 21 '22 00:09 stale[bot]

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

github-actions[bot] avatar Nov 28 '22 01:11 github-actions[bot]