diff --git a/.changeset/strong-mangos-sell.md b/.changeset/strong-mangos-sell.md index aca074c7f3..614d36cf52 100644 --- a/.changeset/strong-mangos-sell.md +++ b/.changeset/strong-mangos-sell.md @@ -11,6 +11,6 @@ Add the existing resolver to more providers (already available at `google`): Add a new resolver for simple email-to-email matching: -- `providers.google.resolvers.emailMatchingUserEntityEmail()` -- `providers.microsoft.resolvers.emailMatchingUserEntityEmail()` -- `providers.okta.resolvers.emailMatchingUserEntityEmail()` +- `providers.google.resolvers.emailMatchingUserEntityProfileEmail()` +- `providers.microsoft.resolvers.emailMatchingUserEntityProfileEmail()` +- `providers.okta.resolvers.emailMatchingUserEntityProfileEmail()` diff --git a/plugins/auth-backend/api-report.md b/plugins/auth-backend/api-report.md index 80866bb959..18924f7c23 100644 --- a/plugins/auth-backend/api-report.md +++ b/plugins/auth-backend/api-report.md @@ -872,7 +872,7 @@ export const providers: Readonly<{ ) => AuthProviderFactory; resolvers: Readonly<{ emailLocalPartMatchingUserEntityName: () => SignInResolver; - emailMatchingUserEntityEmail: () => SignInResolver; + emailMatchingUserEntityProfileEmail: () => SignInResolver; emailMatchingUserEntityAnnotation(): SignInResolver; }>; }>; @@ -891,7 +891,7 @@ export const providers: Readonly<{ ) => AuthProviderFactory; resolvers: Readonly<{ emailLocalPartMatchingUserEntityName: () => SignInResolver; - emailMatchingUserEntityEmail: () => SignInResolver; + emailMatchingUserEntityProfileEmail: () => SignInResolver; emailMatchingUserEntityAnnotation(): SignInResolver; }>; }>; @@ -949,7 +949,7 @@ export const providers: Readonly<{ ) => AuthProviderFactory; resolvers: Readonly<{ emailLocalPartMatchingUserEntityName: () => SignInResolver; - emailMatchingUserEntityEmail: () => SignInResolver; + emailMatchingUserEntityProfileEmail: () => SignInResolver; emailMatchingUserEntityAnnotation(): SignInResolver; }>; }>; diff --git a/plugins/auth-backend/src/providers/google/provider.ts b/plugins/auth-backend/src/providers/google/provider.ts index f468a6415a..66749c1177 100644 --- a/plugins/auth-backend/src/providers/google/provider.ts +++ b/plugins/auth-backend/src/providers/google/provider.ts @@ -254,7 +254,7 @@ export const google = createAuthProviderIntegration({ /** * Looks up the user by matching their email to the entity email. */ - emailMatchingUserEntityEmail: () => commonByEmailResolver, + emailMatchingUserEntityProfileEmail: () => commonByEmailResolver, /** * Looks up the user by matching their email to the `google.com/email` annotation. */ diff --git a/plugins/auth-backend/src/providers/microsoft/provider.ts b/plugins/auth-backend/src/providers/microsoft/provider.ts index 05db76fb15..3c1110ab5e 100644 --- a/plugins/auth-backend/src/providers/microsoft/provider.ts +++ b/plugins/auth-backend/src/providers/microsoft/provider.ts @@ -281,7 +281,7 @@ export const microsoft = createAuthProviderIntegration({ /** * Looks up the user by matching their email to the entity email. */ - emailMatchingUserEntityEmail: () => commonByEmailResolver, + emailMatchingUserEntityProfileEmail: () => commonByEmailResolver, /** * Looks up the user by matching their email to the `microsoft.com/email` annotation. */ diff --git a/plugins/auth-backend/src/providers/okta/provider.ts b/plugins/auth-backend/src/providers/okta/provider.ts index a28be51586..f208564cb6 100644 --- a/plugins/auth-backend/src/providers/okta/provider.ts +++ b/plugins/auth-backend/src/providers/okta/provider.ts @@ -285,7 +285,7 @@ export const okta = createAuthProviderIntegration({ /** * Looks up the user by matching their email to the entity email. */ - emailMatchingUserEntityEmail: () => commonByEmailResolver, + emailMatchingUserEntityProfileEmail: () => commonByEmailResolver, /** * Looks up the user by matching their email to the `okta.com/email` annotation. */