# Config saml can not show link Use my institution/campus credentials

**URL:** <https://discuss.openedx.org/t/config-saml-can-not-show-link-use-my-institution-campus-credentials/14436>\
**Category:** Site Operations Help\
**Tags:** how-to, palm\
**Created:** [November 26, 2024, 10:17am UTC](https://discuss.openedx.org/t/config-saml-can-not-show-link-use-my-institution-campus-credentials/14436 "2024-11-26T10:17:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![choltha](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/choltha/32/7661_2.png) [@choltha](https://discuss.openedx.org/u/choltha)\
**Post date:** [November 26, 2024, 10:17am UTC](https://discuss.openedx.org/t/config-saml-can-not-show-link-use-my-institution-campus-credentials/14436/1 "2024-11-26T10:17:37Z")

</div>

I want login sso  
step link [4.22.3.2.2. Integrating with a SAML Identity Provider — Installing, Configuring, and Running the Open edX Platform documentation](https://edx.readthedocs.io/projects/edx-installing-configuring-and-running/en/latest/configuration/tpa/tpa_integrate_open/tpa_SAML_IdP.html#id13)

I generate Public and Private Keys

```auto
openssl req -new -x509 -days 3652 -nodes -out saml.crt -keyout saml.key

```

create plugin python add Public and Private Keys and enable

```auto
from tutor import hooks

hooks.Filters.ENV_PATCHES.add_items([
    (
        "common-env-features",
        '"ENABLE_THIRD_PARTY_AUTH": true',
    ),
    (
        "openedx-lms-common-settings",
        """
# saml special settings
AUTHENTICATION_BACKENDS += ["common.djangoapps.third_party_auth.saml.SAMLAuthBackend", "django.contrib.auth.backends.ModelBackend"]
"""
    ),
    (
        "openedx-auth",
        """
"SOCIAL_AUTH_SAML_SP_PRIVATE_KEY": "yoursecretkey",
"SOCIAL_AUTH_SAML_SP_PUBLIC_CERT": "yourpubliccert"
        """
    ),
])

```

enable

- ENABLE\_THIRD\_PARTY\_AUTH: true
- ENABLE\_COMBINED\_LOGIN\_REGISTRATION: true

config admin  
[https://lms.domain.com/admin/third\_party\_auth/samlproviderconfig/](https://lms.domain.com/admin/third_party_auth/samlproviderconfig/)  
and Add Provider Configuration SAML IdP status Metadata Ready

SAML Configuration  
metadata is working /auth/saml/metadata.xml

but cannot show link "Use my institution/campus credentials "

 ![image](https://us1.discourse-cdn.com/flex020/uploads/openedx/original/2X/c/c85cf9e199fcd805b38429c8b17d3189efa4d4a4.png)

version palm

---

<div class="post-metadata">

**Author:** ![Andres.Aulasneo](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/andres.aulasneo/32/984_2.png) [@Andres.Aulasneo](https://discuss.openedx.org/u/Andres.Aulasneo)\
**Post date:** [November 26, 2024, 6:44pm UTC](https://discuss.openedx.org/t/config-saml-can-not-show-link-use-my-institution-campus-credentials/14436/2 "2024-11-26T18:44:25Z")

</div>

Make sure you have set **Enabled** and **Visible** in the SAML provider configuration

---

<div class="post-metadata">

**Author:** ![choltha](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/choltha/32/7661_2.png) [@choltha](https://discuss.openedx.org/u/choltha)\
**Post date:** [November 27, 2024, 3:47am UTC](https://discuss.openedx.org/t/config-saml-can-not-show-link-use-my-institution-campus-credentials/14436/3 "2024-11-27T03:47:29Z")

</div>

@Andres.Aulasneo Thank you so mush is working

---

<div class="post-metadata">

**Author:** ![choltha](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/choltha/32/7661_2.png) [@choltha](https://discuss.openedx.org/u/choltha)\
**Post date:** [November 27, 2024, 3:53am UTC](https://discuss.openedx.org/t/config-saml-can-not-show-link-use-my-institution-campus-credentials/14436/4 "2024-11-27T03:53:31Z")

</div>

Hi @Andres.Aulasneo  
after config show error

```auto
Error Details:
Authentication failed: SAML login failed: ['invalid_response'] (The response was received at http://lms.domain/auth/complete/tpa-saml/ instead of https://lms.domain/auth/complete/tpa-saml/)

```

I want set http to https How to config?  
[http://lms.domain/auth/complete/tpa-saml/](http://lms.domain/auth/complete/tpa-saml/) to [https://lms.domain/auth/complete/tpa-saml/](https://lms.domain/auth/complete/tpa-saml/)  
Is fix success.

> set proxy\_set\_header X-Forwarded-Proto https

 ![image](https://us1.discourse-cdn.com/flex020/uploads/openedx/original/2X/9/97d6ba0eadedfef9430f8819eeff6d62e0a4e7e1.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/openedx/original/2X/e/e0015f89e879bc75925b71fd11133ab15fe98297.png) [@system](https://discuss.openedx.org/u/system)\
**Post date:** [February 25, 2025, 3:53am UTC](https://discuss.openedx.org/t/config-saml-can-not-show-link-use-my-institution-campus-credentials/14436/5 "2025-02-25T03:53:44Z")

</div>

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