Use correct config definitions in MS related modules

Signed-off-by: Jonathan Roebuck <jroebuck@spotify.com>
This commit is contained in:
Jonathan Roebuck
2025-02-24 15:55:17 +00:00
parent b5a82087a7
commit 612d1fdaa9
3 changed files with 9 additions and 1 deletions
+7
View File
@@ -0,0 +1,7 @@
---
'@backstage/plugin-auth-backend-module-microsoft-provider': patch
'@backstage/plugin-catalog-backend-module-msgraph': patch
---
Update `catalog.providers.microsoftGraphOrg.target` config def to be optional as this has a default value.
Update `auth.microsoft.signIn.resolvers` config def to include the `userIdMatchingUserEntityAnnotation` resolver.
@@ -40,6 +40,7 @@ export interface Config {
allowedDomains?: string[];
}
| { resolver: 'emailMatchingUserEntityProfileEmail' }
| { resolver: 'userIdMatchingUserEntityAnnotation' }
>;
};
sessionDuration?: HumanDuration | string;
+1 -1
View File
@@ -32,7 +32,7 @@ export interface Config {
* The prefix of the target that this matches on, e.g.
* "https://graph.microsoft.com/v1.0", with no trailing slash.
*/
target: string;
target?: string;
/**
* The auth authority used.
*