@@ -74,7 +74,7 @@ export namespace commonSignInResolvers {
|
||||
{
|
||||
dangerousEntityRefFallback:
|
||||
options?.dangerouslyAllowSignInWithoutUserInCatalog
|
||||
? { name: noPlusEmail }
|
||||
? { entityRef: { name: noPlusEmail } }
|
||||
: undefined,
|
||||
},
|
||||
);
|
||||
@@ -122,7 +122,7 @@ export namespace commonSignInResolvers {
|
||||
{
|
||||
dangerousEntityRefFallback:
|
||||
options?.dangerouslyAllowSignInWithoutUserInCatalog
|
||||
? { name: localPart }
|
||||
? { entityRef: { name: localPart } }
|
||||
: undefined,
|
||||
},
|
||||
);
|
||||
|
||||
@@ -172,13 +172,15 @@ export type AuthResolverContext = {
|
||||
signInWithCatalogUser(
|
||||
query: AuthResolverCatalogUserQuery,
|
||||
options?: {
|
||||
dangerousEntityRefFallback?:
|
||||
| string
|
||||
| {
|
||||
kind?: string;
|
||||
namespace?: string;
|
||||
name: string;
|
||||
};
|
||||
dangerousEntityRefFallback?: {
|
||||
entityRef:
|
||||
| string
|
||||
| {
|
||||
kind?: string;
|
||||
namespace?: string;
|
||||
name: string;
|
||||
};
|
||||
};
|
||||
},
|
||||
): Promise<BackstageSignInResult>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user