-
Notifications
You must be signed in to change notification settings - Fork 8.6k
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
feat: Create UserCreationService
and use in API V1 create user endpoint
#19150
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
2 Skipped Deployments
|
identityProvider?: IdentityProvider; | ||
} | ||
|
||
export class UserCreationService { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is exactly what we are looking for with application services coordinating these calls. Very nice.
@@ -90,6 +90,7 @@ export class OrganizationRepository { | |||
email: owner.email, | |||
username: ownerUsernameInOrg, | |||
organizationId: organization.id, | |||
locked: false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'll check the new org owner against the watch list in this PR #19201
Graphite Automations"Add consumer team as reviewer" took an action on this PR • (02/10/25)1 reviewer was added to this PR based on Keith Williams's automation. |
E2E results are ready! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Will you also make these changes in packages/features/auth/lib/next-auth-options.ts in a follow up PR?
@Udit-takkar I have this PR in the stack that addresses this |
What does this PR do?
UserCreationService
Mandatory Tasks (DO NOT REMOVE)
How should this be tested?
Checklist