1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-30 19:52:20 +01:00

(bug) unable to access the new OIDC provider form

This commit is contained in:
Sylvain 2022-07-05 16:18:17 +02:00
parent 1660987d78
commit bfc6d76109
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@
## next deploy
- Fix a bug: script mount-proof-of-identity-files creates a volume with an invalid path
- Fix a bug: unable to access the new OIDC provider form
## v5.4.9 2022 June 29

View File

@ -69,7 +69,7 @@ export const OpenidConnectForm = <TFieldValues extends FieldValues, TContext ext
* The resulting list is provided through the callback parameter.
*/
const loadScopes = (inputValue: string, callback: (options: Array<{ value: string, label: string }>) => void): void => {
const current = currentFormValues.scope || [];
const current = currentFormValues?.scope || [];
if (scopesAvailable) {
// add custom scopes to the list of available scopes
const unlisted = difference(current, scopesAvailable);