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

How do i respone claims in LoginRespone function? #195

Closed
thanghng opened this issue Feb 24, 2019 · 2 comments · May be fixed by #225
Closed

How do i respone claims in LoginRespone function? #195

thanghng opened this issue Feb 24, 2019 · 2 comments · May be fixed by #225

Comments

@thanghng
Copy link

I want to respone claims value after user login success.

@colonelpopcorn
Copy link

colonelpopcorn commented Apr 22, 2021

I need this as well, I need to optionally send some things back when a user is of a certain type. Currently the ExtractClaims function returns an empty map in the LoginResponse function. Maybe you could expose a function to parse a token string? Or just pass a Token struct instead of the handful of arguments to the LoginResponse function?

@appleboy
Copy link
Owner

See the solution #243

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

Successfully merging a pull request may close this issue.

3 participants