-
Notifications
You must be signed in to change notification settings - Fork 1
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
Improve Flash Message Within openid_connect
When auth.info.email
is nil
#966
Comments
Hi @closenma, here is an idea for what the updated flash message could display: "Unable to sign in with the selected identity provider. Please visit https://cilogon.org/testidp/ to verify that all required fields are provided, or try signing in with another identity provider." |
This looks good to me, I'll submit it for translation |
The French translation for the string has been returned by Alliance Translation |
Hi @closenma, I'm now realising that in addition to when signing in, this issue can also be encountered by already signed in users attempting to link on the edit profile page. Given that, maybe we need a second string + translation for that case? If so, here is a suggested addition: "Unable to link with the selected identity provider. Please visit https://cilogon.org/testidp/ to verify that all required fields are provided, or try linking with another identity provider." |
I'll send this one in for translation right away |
Translation has returned: |
Please complete the following fields as applicable:
What version of the DMPRoadmap code are you running? (e.g. v2.2.0)
Current behaviour:
When CILogon is unable to return the auth.info.email attribute, the flash message
'Something went wrong, Please try signing up here.'
is rendered (relevant code below):Desired behaviour:
The text was updated successfully, but these errors were encountered: