Nextcloud Email Automatic Provisioning
-
PS Somebody should update the link @girish posted in all those threads about Nextcloud mail to https://docs.cloudron.io/packages/nextcloud#email

I am trying to automatically provision the mail app for Nextcloud users, which keeps rejecting me because of credentials I (mis?)understood should have been there thanks to the SSO.
My mail server is my.bebraver.email and separate to the Cloudron cooking up the Nextcloud shenenigans.

Please somebody tell me how to get this working as I really don't want to tell users we have SSO but they need to enter their passwords in Nextcloud. I am not sure I can survive the grief

Thanks folks.
-
PS Somebody should update the link @girish posted in all those threads about Nextcloud mail to https://docs.cloudron.io/packages/nextcloud#email

I am trying to automatically provision the mail app for Nextcloud users, which keeps rejecting me because of credentials I (mis?)understood should have been there thanks to the SSO.
My mail server is my.bebraver.email and separate to the Cloudron cooking up the Nextcloud shenenigans.

Please somebody tell me how to get this working as I really don't want to tell users we have SSO but they need to enter their passwords in Nextcloud. I am not sure I can survive the grief

Thanks folks.
-
So clarify here, nextcloud is acting as a webmailer. Since one can setup any mailbox connection for a nextcloud user and the app in nextcloud is not part of the core, there is no way to pre-setup those on behalf of the user. While the password for the imap/smtp connection would be the same for the user like in SSO login views, nextcloud does not get the user's password when OpenID is used, so Nexctloud cannot setup this automatically for the user, even if it would know the mailboxes.
Not sure if Nextcloud has some custom defined way to do this maybe through OpenID claims or so, but haven't seen that.
-
Gotcha. Thanks for clarifying both. I remember getting it to work with Hetzner StorageShare and Mailcow a while back but users simply logged in with the same password they had for mail. There was no SSO involved. Part of me hoped that because the passwords were the same it would work similarly. I wonder what a good work around is?