Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: Allow overriding TokenValidationParameters #8

Open
VictorioBerra opened this issue Oct 23, 2023 · 2 comments
Open
Assignees

Comments

@VictorioBerra
Copy link

What problem did you meet?

https://github.com/logto-io/csharp/blob/master/src/Logto.AspNetCore.Authentication/extensions/AuthenticationBuilderExtensions.cs#L115

I would like to NameClaimType to "username" instaed of "name".

Describe what you'd like Logto to have

I should be able to configure and override all OpenIdConnectOptions.

@gao-sun gao-sun self-assigned this Feb 2, 2024
@gao-sun
Copy link
Member

gao-sun commented Feb 2, 2024

good call

@VictorioBerra
Copy link
Author

Just a heads up for anyone who finds this, until there is an official option I simply copy and pasted the AuthenticationBuilderExtensions into my own app and changes what I needed to make it work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants