GitLab single sign-on URL does not show until after saving SSO settings

Summary

On the SAML SSO Settings page for groups, it does not show the GitLab single sign-on URL until after saving the SSO configuration the first time.

Steps to reproduce

  1. Create a group.
  2. Apply a paid plan.
  3. Go to the SSO Settings page.

What is the current bug behavior?

GitLab single sign-on URL does not show

What is the expected correct behavior?

GitLab single sign-on URL shows

Relevant logs and/or screenshots

image

Output of checks

GitLab.com, GitLab Enterprise Edition 14.10.0-pre 86ddb91d

Possible fixes