Skip to content

feat: Add new serverpod_auth_user package - #3433

Merged
SandPod merged 17 commits into
serverpod:mainfrom
tp:serverpod_auth_user
Apr 25, 2025
Merged

SandPod merged 17 commits into
serverpod:mainfrom
tp:serverpod_auth_user

Conversation

@tp

@tp tp commented Apr 16, 2025 •

Copy link
Copy Markdown
Contributor

Introduces the AuthUser type, the new "core" / anchor point for the modular "authentication 2.0" packages.

This type is a subset of the UserInfo (from serverpod_auth), containing only the required fields for authentication in the core Serverpod framework: An ID, scopes, and whether it's enabled.
The other fields of UserInfo will move to a serverpod_user_profile package.

This type offers the basis for all other new packages to hook into and connect to this user.

The package does not and is not expected to expose any endpoints.

Closes #3445

@tp
tp force-pushed the serverpod_auth_user branch from b8516ea to b740208 Compare April 16, 2025 15:39
@tp
tp force-pushed the serverpod_auth_user branch from b740208 to 348e1ba Compare April 16, 2025 15:54
@tp
tp marked this pull request as ready for review April 16, 2025 16:20

@SandPod SandPod left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Some more setup is needed to ensure that this package is managed in the mono repo.

@tp
tp force-pushed the serverpod_auth_user branch from ccd248f to e56f43d Compare April 23, 2025 13:44
@tp
tp requested a review from SandPod April 23, 2025 13:59
@tp
tp force-pushed the serverpod_auth_user branch from 51a8403 to 218f4e6 Compare April 24, 2025 08:02

@SandPod SandPod left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple of minor things to fix.

tp added 6 commits April 25, 2025 09:51
as that is really only intended to be used on the backend
Previously this part failed, whereas the CHANGELOG was updated, as the script could partially complete

@SandPod SandPod left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 👍 🚀

@SandPod
SandPod merged commit c7d1100 into serverpod:main Apr 25, 2025
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 25, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create AuthUser / serverpod_auth_user package

2 participants