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
Email verification not working with CAS #2963
Comments
Do you have an example user id and example email address? What do they look like? CAS version 1.0 only supports importing usernames from the SSO service, there is no E-mail beeing imported from the SSO service version CAS 1.0 Basically what happens is your patch tries to send emails for users which have no E-mail set, which of course won't work. Importing user attributes, such as Email addresses, will be available in CAS 2.0 version support #2325 , which currently depends on #2254 |
This is my current placeholder solution, until you guys will eventually provide elegant code. At my institution, CAS id is user email (Ex:
Then,
|
Basically that's an ugly workaround to support importing email addresses under CAS 1.0 which only works in your very special case. This workaround will not be upstreamed as it completely circumvents the CAS protocol, but feel free to maintain it as a personal patch to re-apply after version upgrades. |
Yes. I know it is an ugly workaround as I mentioned but it gets the work done for time being. |
@genesplicer The CAS 2.0 patch will bring some relief for your workaround. Either you start going towards CAS 2.0 or you can reside with 1.0 and use the new attribute map under CAS settings to generate an email address with placeholders staticly Example: |
@RocketChat/core This issue can be closed, a workaround has been implemented with #4497 |
Hi,
I have installed Rocket.Chat on "Ubuntu without docker". I am currently on release 0.27. I fixed the SMTP issue mentioned in #2613. However, I still have email verification issues. We use CAS to authenticate users, where user id is the email id with the domain name added. Under my profile, if I click "Resend confirmation email", I get "Error sending confirmation email". I tried and edited
rocketchat_cas.js
to send confirmation email, for new users. I get the link and I get an alert popup saying "Email verified", when I click on it, but the verified field is not being updated in db.The text was updated successfully, but these errors were encountered: