Skip to content

Generic/typed UserInfo #136

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

Merged
merged 1 commit into from
Jun 21, 2024
Merged

Generic/typed UserInfo #136

merged 1 commit into from
Jun 21, 2024

Conversation

JakeLo123
Copy link
Contributor

@JakeLo123 JakeLo123 commented Jun 20, 2024

What is this PR and why do we need it?

#94 -- Users with a custom /app/me implementation may have a custom userInfo payload different from the default UserInfo. Users need a way to specify the shape of the object.

For example:
image

Pre-Merge Checklist (if applicable)

  • Unit and Feature tests have been added/updated for logic changes, or there is a justifiable reason for not doing so.

@JakeLo123 JakeLo123 added enhancement New feature or request React SDK Core relating to the framework-agnostic core of the SDKs labels Jun 20, 2024
@JakeLo123 JakeLo123 self-assigned this Jun 20, 2024
@JakeLo123 JakeLo123 linked an issue Jun 20, 2024 that may be closed by this pull request
@JakeLo123 JakeLo123 merged commit f56cdd1 into main Jun 21, 2024
3 checks passed
@JakeLo123 JakeLo123 deleted the 94-typed-or-generic-usefusionauth branch June 21, 2024 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request React SDK Core relating to the framework-agnostic core of the SDKs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

typed or generic useFusionAuth
3 participants