Adding fix for empty scopes

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

View File

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