Closed akhil1508 closed 1 year ago
Please try again with the above bugfix commit.
The login-oauth2 extension never worked (that is why it is not available in admin -> extensions). It is just draft code with the old RainLoop code.
The problem with OAuth is changing passwords and that conflicts with AdditionalAccount encrypted passwords which are encrypted with main password (for security reasons i reported at RainLoop). Until a workaround is available watch out with the Additional accounts feature.
@the-djmaze thanks for the super quick reply and bug fix. Your work is much appreciated
The login-oauth2 extension never worked (that is why it is not available in admin -> extensions). It is just draft code with the old RainLoop code.
So what I'm doing here is completely wrong? Even for a single account?
The problem with OAuth is changing passwords and that conflicts with AdditionalAccount encrypted passwords which are encrypted with main password (for security reasons i reported at RainLoop). Until a workaround is available watch out with the Additional accounts feature.
This is okay with me, I only want to achieve auto login with one account for now and use the oidc access token used to login at NC to login against dovecot using oauthbearer.
You are not doing it wrong 😉
@the-djmaze We can close this :smiley: , your fix works after adding changes from https://github.com/the-djmaze/snappymail/pull/759
Describe the bug
To Reproduce Steps to reproduce the behavior:
class LoginNextcloudOIDCPlugin extends \RainLoop\Plugins\AbstractPlugin { const NAME = 'LoginNextcloudOIDC', VERSION = '0.0', RELEASE = '2022-11-11', REQUIRED = '2.21.0', CATEGORY = 'Login', DESCRIPTION = 'op';
}