Unable to administer instance via SSO'ed admin user
Description
Administrating via SSO'ed account is currently not being shown administrative tools in the frontend even when the user does in fact have Administrator role.
Steps to Reproduce
- Deploy Mobilizon
- Configure oauth via Keycloack
- Login via Keycloack
- Use CLI to add the user to admins
- Logout and back in
- Unable to see any admin related menus but cli says Administrator role.
Expected behaviour:
Expected it to show administrative tools
Actual behaviour:
Doesn't show any administrative tools when using SSO'ed account.
Reproduces how often:
100%
Versions
Mobilizon version 2.0.2, instance jarkkaa.fi OS: Debian 11 Browser Microsoft Edge 97.0.1072.34 Linux Beta
Additional Information
This issue was discussed on Matrix by Skyler and cos.