How to configure the registration fields after sign in via SAML SSO?

Normally, the registration process uses the theme’s registration form from the frontend-app-authn URL: https://apps.lms.domain.com/authn/register. However, after signing in with SAML SSO for the first time, the registration form redirects to https://lms.domain.com/register. Is it possible to make it use frontend-app-authn as well?

Normal

After sign in vis SAML SSO

And if I want to add a username field in the SSO registration form, is it possible to do so?

It’s a bug! I’ve created a PR to fix it, it’s still waiting for approval. Anyway, will probably not be upstream before Teak. I suggest you fork edx-platform and apply the fix to your version, which is very simple.

@Andres.Aulasneo Thank you. It is working.

I edit file from edx-platform at location openedx/core/djangoapps/user_authn/views/login_form.py

  if should_redirect_to_authn_microfrontend() and \
            not enterprise_customer and \
            not tpa_hint_provider and \
            not saml_provider:

to

    if should_redirect_to_authn_microfrontend() and not \
        (enterprise_customer and tpa_hint_provider and saml_provider):

and add

function not working bug?
Skip registration form
Skip email verification
Send to registration first

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.