SSO group sync & verification #161
Labels
No labels
Bug
Docs
Feature request
Good for newcomers
Infra
Privacy
Refactoring or migration
Security
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: pub-solar/infra#161
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
To enable emailing, we'd need to be able to verify users as real. Otherwise our open registration will just lead to spambots using pub.solar email addresses for free. One way to do this would be to have a "verified" group in keycloak, which gets the right to send emails.
The same applies to Data volumes in Nextcloud. These are currently capped to 10MB by default, but for verified users, we could increase this to e.g. 5GB.
Keycloak Server Providers could be considered for this - they allow Keycloak to extend its own functionalities:
https://www.keycloak.org/docs/latest/server_development/#_providers
It would be possible to implement an EventListener SPI:
https://www.keycloak.org/docs/latest/server_development/#_events
Then, one could use groups to mark authorized users and tap into the GROUP_MEMBERSHIP CREATE event to subsequently call the Nextcloud, etc. APIs based on this.