We want to use Keycloak as authentication provider.
After adding keycloak settings in SOCIALACCOUNT_PROVIDERS in .env
- Keycloak login button does not appear on QFieldCloud sign in page
- Keycloak login button does not appear on QField Sync plugin in QGIS
- Keycloak login button appears on QField apps (v 3.7.3)
- On windows clicking sign in using keycloak does not open the browser and shows error “session expired“ immediately
- On Android, browser opens, after successful login to keycloak, returning to that app shows error “session expired“ immediately
We tried with different configuration of client (which works with other systems) but no luck in QField and QFieldCloud.
More questions that we could not find in documentation:
- If user is signed in from Keycloak, new user will be created, how to assign roles (admin or staff)
- How to assign the new user and Organization, or a Team automatically? does QFieldCloud consider cistom claims for example.



