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

Authentication flow fails when redirecting during sign-in on the Contributor Console. #430

Open
nickmango opened this issue Nov 28, 2024 · 6 comments
Assignees

Comments

@nickmango
Copy link
Contributor

When users attempt to authenticate via email on the Contributor Console, the page hangs after redirecting during the sign-in process. The expected behavior is for the sign-in process to complete and proceed seamlessly. However, authentication via LFID (e.g., use case: vthakurs LFID) works as intended.


Steps to Reproduce:

  1. Click sign agreement on gerrit|github
  2. Proceed to sign either with individual or coporate contributor options
  3. Choose Email as the authentication method.
  4. Enter the email and proceed with the sign-in process.
  5. Observe that the page hangs after redirecting.

Expected Behavior:

The sign-in process should complete successfully, and the user should be redirected to the appropriate page or console after signing in.


Actual Behavior:

The page remains hanging, and the sign-in process does not complete.


Environment:

  • Platform: Contributor Console
  • Authentication Method: Email
  • LFID Authentication: Working (example: vthakurs LFID)
  • Email Authentication: Fails

Impact:

Users authenticating via email cannot access the Contributor Console, impacting usability and adoption for email-based users.


Attachments:

Image

Image


@amolsontakke3576
Copy link
Contributor

@nickmango I have tested on dev and working file with login with Gmail
PFA
Screencast from 28-11-24 07:37:42 PM IST.webm

@nickmango
Copy link
Contributor Author

nickmango commented Nov 28, 2024

lfx-header-v2.js:3 Refused to load the script 'https://www.googletagmanager.com/gtm.js?id=GTM-K4CSDQH' because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-eval' 'unsafe-inline' https://cdn.dev.platform.linuxfoundation.org/lfx-header-v2.js https://cdn.platform.linuxfoundation.org/lfx-header-v2.js https://cdn.dev.platform.linuxfoundation.org/lfx-header-v2-no-zone.js https://cdn.staging.platform.linuxfoundation.org/lfx-header-v2-no-zone.js https://cdn.platform.linuxfoundation.org/lfx-header-v2-no-zone.js https://cdn.dev.platform.linuxfoundation.org/lfx-footer-no-zone.js https://cdn.staging.platform.linuxfoundation.org/lfx-footer-no-zone.js https://cdn.platform.linuxfoundation.org/lfx-footer-no-zone.js". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.
@alyeldegwy kindly help look into this

@mlehotskylf
Copy link
Contributor

Screenshot 2024-12-11 at 12 07 52 AM

@amolsontakke3576
Copy link
Contributor

amolsontakke3576 commented Dec 11, 2024

@alyeldegwy We got the above error when loading the contributor console. As per our observation this error is in the lfx-header-v2. Please take a look.
( This occurs when cookies are disabled for the browser )

@thakurveerendras
Copy link

Tested multiple times on dev site & found that it is working fine at my end, So updating this issue status

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants