You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I want to edit the Auth providers settings in the UI (here it's Discord), when I do "Clear all fields", put another client id and client secret in the fields, then click "Save changes", I have this error:
ERROR PATCH /api/settings
└─ An error occurred while loading the submitted data.
└─ code=400, message=json: cannot unmarshal string into Go struct field AuthProviderConfig.discordAuth.pkce of type bool, internal=json: cannot unmarshal string into Go struct field AuthProviderConfig.discordAuth.pkce of type bool
I didn't test doing it from code.
I've tested in --dev mode (on my local machine) as well as in production (on a remote server). Thanks for the help!
The text was updated successfully, but these errors were encountered:
The bug is only in the Admin UI (the "Clear all fields" btn wasn't properly unseting the form fields). A fix was submitted in master and it will be available with the next minor v0.22.9 release in the next couple days. If you don't want to wait you can refresh the page and manually unset/change the fields without clicking on the "Clear" btn.
When I want to edit the Auth providers settings in the UI (here it's Discord), when I do "Clear all fields", put another client id and client secret in the fields, then click "Save changes", I have this error:
I didn't test doing it from code.
I've tested in
--dev
mode (on my local machine) as well as in production (on a remote server). Thanks for the help!The text was updated successfully, but these errors were encountered: