Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OAuth logins trigger email verification #695

Closed
michael-robbins opened this issue Jun 14, 2021 · 4 comments
Closed

OAuth logins trigger email verification #695

michael-robbins opened this issue Jun 14, 2021 · 4 comments
Labels
WIP This is currently being worked on
Milestone

Comments

@michael-robbins
Copy link

michael-robbins commented Jun 14, 2021

Version

Please provide your current version (can be found on the system page since v0.8.4)
Version: 0.16.2

Bug description

When a user logs in through the oauth flow (I'm using Keycloak for example). The email verification is triggered anyway, even through my IDP has done this for me.

Is there a way to assume emails coming from oauth logins are verified automatically?

I'd prefer to not have to embed the SMTP creds in this app as well as my IDP (Keycloak) handles all of this for me, as well as all the users having to verify their emails twice.

@vabene1111 vabene1111 added the WIP This is currently being worked on label Jun 14, 2021
@vabene1111 vabene1111 added this to the 0.16.x milestone Jun 14, 2021
@vabene1111
Copy link
Collaborator

you can simply not configure SMTP credentials and no emails will be send :)

But i will look into this behavior

@michael-robbins
Copy link
Author

Yeah mad, so I haven't configured it, users who authenticate through oauth still get a 'you have been sent a verification email' popup too, so that might be confusing as well for them

@vabene1111
Copy link
Collaborator

thats interesting but makes sense .. sadly django-allauth (which is what the auth system builds upon) has very limited options for configuration in regards to email sending ...

i will look into this and try to find a solution

@vabene1111
Copy link
Collaborator

fixed in next release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WIP This is currently being worked on
Projects
None yet
Development

No branches or pull requests

2 participants