Adding fix for empty scopes
This commit is contained in:
parent
9a677fce72
commit
faa765f69d
|
@ -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,
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue