Replies: 6 comments
-
如何在token中拿到 自定义 claims 字段?以及如何定义 claims 字段? #18100 |
Beta Was this translation helpful? Give feedback.
-
Thank you for submitting your first issue, awesome! 🚀 We're thrilled to receive your input. If you haven't completed the template yet, please take a moment to do so. This ensures that we fully understand your feature request or bug report. On what happens next, see the docs. If you like Orchard Core, please star our repo and join our community channels. |
Beta Was this translation helpful? Give feedback.
-
I am using .net8 + OrchardCore 2.1.7 |
Beta Was this translation helpful? Give feedback.
-
Please describe your issue in English |
Beta Was this translation helpful? Give feedback.
-
@pyy-alt, which token are you referring to? |
Beta Was this translation helpful? Give feedback.
-
`using System.Text.Json; namespace MOTS.IdentityCenter.UsersModule.Handle; public class CustomOpenIddictClaimsHandler : IOpenIddictServerHandler<OpenIddictServerEvents.ProcessSignInContext>
} `using Microsoft.AspNetCore.Builder; namespace MOTS.IdentityCenter.UsersModule; public class Startup : OrchardCore.Modules.StartupBase
}` I need to insert my custom user extension attributes into the access_token using a claim method. How should I implement this? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
Orchard Core version
To Reproduce
Expected behavior
Logs and screenshots
Beta Was this translation helpful? Give feedback.
All reactions