SAML Users Still Prompted to Complete Free Trial Registration
Summary
SAML users who initially started a free trial registration (but didn't complete it) are still being prompted to complete the free trial registration flow after authenticating via SAML. This issue was supposedly fixed in #424373 (closed), but the fix is not working correctly.
Steps to reproduce
- User creates an account by clicking "Get a Free Trial" (in this case, in August) and confirms their email address
- User abandons the registration process before completion
- Several months later, user receives SAML link and authenticates via SAML
- User logs in and when he clicks on any button he is still prompted to complete the free trial registration instead of being recognized as a SAML user
Example Project
N/A - This is an account authentication flow issue, not related to a specific project.
What is the current bug behavior?
After authenticating via SAML, the user is still being prompted to complete the free trial registration process, including being asked for company information. The system doesn't recognize that the SAML authentication should override the incomplete free trial registration.
What is the expected correct behavior?
After authenticating via SAML, the user should be properly recognized as a SAML user and not be prompted to complete the free trial registration process.
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com
Results of GitLab environment info
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of: `sudo gitlab-rake gitlab:env:info`) (For installations from source run and paste the output of: `sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true
)(we will only investigate if the tests are passing)