-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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(authentication, types): Create authentication entities and services #5979
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 3 Ignored Deployments
|
|
packages/authentication/integration-tests/__fixtures__/auth-provider/index.ts
Outdated
Show resolved
Hide resolved
packages/authentication/integration-tests/__fixtures__/auth-user/index.ts
Outdated
Show resolved
Hide resolved
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.
niiice work @pKorsholm !
} from "@mikro-orm/core" | ||
import AuthProvider from "./auth-provider" | ||
|
||
type OptionalFields = "password_hash" | "app_metadata" | "user_metadata" |
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.
type OptionalFields = "password_hash" | "app_metadata" | "user_metadata" | |
type OptionalFields = "provider_metadata" | "app_metadata" | "user_metadata" |
import { AuthUser } from "@models" | ||
|
||
export type CreateAuthUserDTO = { | ||
email?: string |
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.
question: Wasn't email moved to provider_metadata
too?
What
AuthProvider
AuthUser