Adding fix for empty scopes

This commit is contained in:
Dean 2022-08-18 11:50:52 +01:00
parent 9a677fce72
commit faa765f69d
1 changed files with 1 additions and 1 deletions

View File

@ -503,7 +503,7 @@
<span <span
class="edit-icon" class="edit-icon"
on:click={() => { on:click={() => {
if (!providers.oidc.config.configs[0]) { if (!providers.oidc.config.configs[0]["scopes"]) {
providers.oidc.config.configs[0]["scopes"] = [ providers.oidc.config.configs[0]["scopes"] = [
...defaultScopes, ...defaultScopes,
] ]