Add signIn.resolvers to auth providers config schema
Signed-off-by: Boris Bera <bbera@coveo.com>
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
---
|
||||
'@backstage/plugin-auth-backend-module-cloudflare-access-provider': patch
|
||||
'@backstage/plugin-auth-backend-module-vmware-cloud-provider': patch
|
||||
'@backstage/plugin-auth-backend-module-atlassian-provider': patch
|
||||
'@backstage/plugin-auth-backend-module-bitbucket-provider': patch
|
||||
'@backstage/plugin-auth-backend-module-microsoft-provider': patch
|
||||
'@backstage/plugin-auth-backend-module-onelogin-provider': patch
|
||||
'@backstage/plugin-auth-backend-module-aws-alb-provider': patch
|
||||
'@backstage/plugin-auth-backend-module-gcp-iap-provider': patch
|
||||
'@backstage/plugin-auth-backend-module-github-provider': patch
|
||||
'@backstage/plugin-auth-backend-module-gitlab-provider': patch
|
||||
'@backstage/plugin-auth-backend-module-google-provider': patch
|
||||
'@backstage/plugin-auth-backend-module-oauth2-provider': patch
|
||||
'@backstage/plugin-auth-backend-module-oidc-provider': patch
|
||||
'@backstage/plugin-auth-backend-module-okta-provider': patch
|
||||
---
|
||||
|
||||
Add `signIn` to authentication provider configuration schema
|
||||
@@ -28,6 +28,13 @@ export interface Config {
|
||||
audience?: string;
|
||||
callbackUrl?: string;
|
||||
additionalScopes?: string | string[];
|
||||
signIn?: {
|
||||
resolvers: Array<
|
||||
| { resolver: 'usernameMatchingUserEntityName' }
|
||||
| { resolver: 'emailLocalPartMatchingUserEntityName' }
|
||||
| { resolver: 'emailMatchingUserEntityProfileEmail' }
|
||||
>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -21,6 +21,12 @@ export interface Config {
|
||||
awsalb?: {
|
||||
issuer?: string;
|
||||
region: string;
|
||||
signIn?: {
|
||||
resolvers: Array<
|
||||
| { resolver: 'emailLocalPartMatchingUserEntityName' }
|
||||
| { resolver: 'emailMatchingUserEntityProfileEmail' }
|
||||
>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -26,6 +26,13 @@ export interface Config {
|
||||
*/
|
||||
clientSecret: string;
|
||||
additionalScopes?: string | string[];
|
||||
signIn?: {
|
||||
resolvers: Array<
|
||||
| { resolver: 'userIdMatchingUserEntityAnnotation' }
|
||||
| { resolver: 'emailLocalPartMatchingUserEntityName' }
|
||||
| { resolver: 'emailMatchingUserEntityProfileEmail' }
|
||||
>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -27,6 +27,12 @@ export interface Config {
|
||||
token: string;
|
||||
subject: string;
|
||||
}>;
|
||||
signIn?: {
|
||||
resolvers: Array<
|
||||
| { resolver: 'emailLocalPartMatchingUserEntityName' }
|
||||
| { resolver: 'emailMatchingUserEntityProfileEmail' }
|
||||
>;
|
||||
};
|
||||
};
|
||||
/**
|
||||
* The backstage token expiration.
|
||||
|
||||
@@ -32,6 +32,15 @@ export interface Config {
|
||||
* The name of the header to read the JWT token from, defaults to `'x-goog-iap-jwt-assertion'`.
|
||||
*/
|
||||
jwtHeader?: string;
|
||||
|
||||
signIn?: {
|
||||
resolvers: Array<
|
||||
| { resolver: 'emailMatchingUserEntityAnnotation' }
|
||||
| { resolver: 'idMatchingUserEntityAnnotation' }
|
||||
| { resolver: 'emailLocalPartMatchingUserEntityName' }
|
||||
| { resolver: 'emailMatchingUserEntityProfileEmail' }
|
||||
>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -28,6 +28,13 @@ export interface Config {
|
||||
callbackUrl?: string;
|
||||
enterpriseInstanceUrl?: string;
|
||||
additionalScopes?: string | string[];
|
||||
signIn?: {
|
||||
resolvers: Array<
|
||||
| { resolver: 'usernameMatchingUserEntityName' }
|
||||
| { resolver: 'emailLocalPartMatchingUserEntityName' }
|
||||
| { resolver: 'emailMatchingUserEntityProfileEmail' }
|
||||
>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -28,6 +28,13 @@ export interface Config {
|
||||
audience?: string;
|
||||
callbackUrl?: string;
|
||||
additionalScopes?: string | string[];
|
||||
signIn?: {
|
||||
resolvers: Array<
|
||||
| { resolver: 'usernameMatchingUserEntityName' }
|
||||
| { resolver: 'emailLocalPartMatchingUserEntityName' }
|
||||
| { resolver: 'emailMatchingUserEntityProfileEmail' }
|
||||
>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -27,6 +27,13 @@ export interface Config {
|
||||
clientSecret: string;
|
||||
callbackUrl?: string;
|
||||
additionalScopes?: string | string[];
|
||||
signIn?: {
|
||||
resolvers: Array<
|
||||
| { resolver: 'emailMatchingUserEntityAnnotation' }
|
||||
| { resolver: 'emailLocalPartMatchingUserEntityName' }
|
||||
| { resolver: 'emailMatchingUserEntityProfileEmail' }
|
||||
>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -29,6 +29,13 @@ export interface Config {
|
||||
domainHint?: string;
|
||||
callbackUrl?: string;
|
||||
additionalScopes?: string | string[];
|
||||
signIn?: {
|
||||
resolvers: Array<
|
||||
| { resolver: 'emailMatchingUserEntityAnnotation' }
|
||||
| { resolver: 'emailLocalPartMatchingUserEntityName' }
|
||||
| { resolver: 'emailMatchingUserEntityProfileEmail' }
|
||||
>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -32,6 +32,13 @@ export interface Config {
|
||||
additionalScopes?: string | string[];
|
||||
disableRefresh?: boolean;
|
||||
includeBasicAuth?: boolean;
|
||||
signIn?: {
|
||||
resolvers: Array<
|
||||
| { resolver: 'usernameMatchingUserEntityName' }
|
||||
| { resolver: 'emailLocalPartMatchingUserEntityName' }
|
||||
| { resolver: 'emailMatchingUserEntityProfileEmail' }
|
||||
>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -31,6 +31,12 @@ export interface Config {
|
||||
tokenSignedResponseAlg?: string;
|
||||
additionalScopes?: string | string[];
|
||||
prompt?: string;
|
||||
signIn?: {
|
||||
resolvers: Array<
|
||||
| { resolver: 'emailLocalPartMatchingUserEntityName' }
|
||||
| { resolver: 'emailMatchingUserEntityProfileEmail' }
|
||||
>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -30,6 +30,13 @@ export interface Config {
|
||||
idp?: string;
|
||||
callbackUrl?: string;
|
||||
additionalScopes?: string | string[];
|
||||
signIn?: {
|
||||
resolvers: Array<
|
||||
| { resolver: 'emailMatchingUserEntityAnnotation' }
|
||||
| { resolver: 'emailLocalPartMatchingUserEntityName' }
|
||||
| { resolver: 'emailMatchingUserEntityProfileEmail' }
|
||||
>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -27,6 +27,13 @@ export interface Config {
|
||||
clientSecret: string;
|
||||
issuer: string;
|
||||
callbackUrl?: string;
|
||||
signIn?: {
|
||||
resolvers: Array<
|
||||
| { resolver: 'usernameMatchingUserEntityName' }
|
||||
| { resolver: 'emailLocalPartMatchingUserEntityName' }
|
||||
| { resolver: 'emailMatchingUserEntityProfileEmail' }
|
||||
>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -25,6 +25,13 @@ export interface Config {
|
||||
scope?: string;
|
||||
consoleEndpoint?: string;
|
||||
additionalScopes?: string | string[];
|
||||
signIn?: {
|
||||
resolvers: Array<
|
||||
| { resolver: 'profileEmailMatchingUserEntityEmail' }
|
||||
| { resolver: 'emailLocalPartMatchingUserEntityName' }
|
||||
| { resolver: 'emailMatchingUserEntityProfileEmail' }
|
||||
>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user