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
I have a script that runs on nextcloud startup to perform configuration commands via occ. I have everything setup for user_oidc. The issue I am having is if I just run the commands and try to log in my group mapping is giving me unique identifiers.
Current Solution
All I do to resolve this issue right now is open the UI settings and simply press update provider. I am not changing any options. I understand why this is the case, I just wish there was a "Update" or "Test" configuration command that could perform this same functionality easily via OCC command.
Thanks for reporting this. The unique-uid value is True by default so this is expected if you don't add --unique-uid 0 to occ user_oidc:provider when creating the provider.
And there actually is a bug in the settings web page. The default value for unique-uid is not correct so as it's not defined, when you update the provider, it sets it to False.
I'm fixing this. PR coming soon.
In the meantime, just explicitly defining the value for unique-uid in the occ command to create the provider will solve your issue.
Description
I have a script that runs on nextcloud startup to perform configuration commands via occ. I have everything setup for user_oidc. The issue I am having is if I just run the commands and try to log in my group mapping is giving me unique identifiers.
Current Solution
All I do to resolve this issue right now is open the UI settings and simply press update provider. I am not changing any options. I understand why this is the case, I just wish there was a "Update" or "Test" configuration command that could perform this same functionality easily via OCC command.
Current Setup Commands:
The text was updated successfully, but these errors were encountered: