feat: add login in popup options to config popup width and weigth

Signed-off-by: rui ma <ruima@alauda.io>
This commit is contained in:
rui ma
2023-07-12 18:14:04 +08:00
parent ba3b7d1782
commit a77ddf7ccd
8 changed files with 144 additions and 4 deletions
+13
View File
@@ -101,6 +101,19 @@ export const apis: AnyApiFactory[] = [
},
environment: configApi.getOptionalString('auth.environment'),
defaultScopes: ['openid', 'profile', 'email'],
popupOptions: {
// optional, used to customize login in popup size
size: {
fullscreen: true,
},
/**
* or specify popup width and height
* size: {
width: 1000,
height: 1000,
}
*/
},
}),
}),
/* highlight-add-end */