By: Alejandro Calderon user 30 Nov 2021 at 1:40 p.m. CST

7 Responses
Alejandro Calderon gravatar
I have installed a Gluu instance just upgraded and I added a new Client for OpenID Connect with Policy URI and Terms of Service URI configured: ![](https://gluu-redirect-uris.s3.eu-central-1.amazonaws.com/Gluu+Suppot+Forums+Tickets/policy_uri.jpg) ![](https://gluu-redirect-uris.s3.eu-central-1.amazonaws.com/Gluu+Suppot+Forums+Tickets/tos_uri.jpg) The problem is that I realized when I go to the Login Page from the SP, I cannot find the Policy URI and the Terms of Service URI. I followed the instructions to customize the Login template and I see that the methods #{client.getPolicyUri()} and #{client.getTosUri()} are not working correctly, because of they are nor returning anything (I pointed where it suppose to be printed the Policy URI between two h1 tags and I commented the h:panelGroup tags for this testing): ![](https://gluu-redirect-uris.s3.eu-central-1.amazonaws.com/Gluu+Suppot+Forums+Tickets/here_goes_policy_uri.jpg) ![](https://gluu-redirect-uris.s3.eu-central-1.amazonaws.com/Gluu+Suppot+Forums+Tickets/login_form_with_no_policy_uri.jpg) Do you know if those methods are different now after the version 4.2+? Kind regards!

By Mohib Zico staff 30 Nov 2021 at 10:26 p.m. CST

Mohib Zico gravatar
@Mobarak Hosen.Shakil: can we please test?

By Mobarak Hosen Shakil staff 01 Dec 2021 at 5:58 p.m. CST

Mobarak Hosen Shakil gravatar
Hi Alejandro, Can you please share the instruction/documentation link you have followed? I added `policy_uri`, `logo` and observed that those are shown with the consent page after login! Please see the attached image. Regards ~ Shakil

By Alejandro Calderon user 02 Dec 2021 at 12:03 a.m. CST

Alejandro Calderon gravatar
Ok, what I see in your image is that you are showing the Policy URI in the Pre-Authorization page, but I have deactivated the Pre-Authorization from the OpenID Client, on the other hand, I'm following the instructions to have the passport strategies enabled to be able to login with Facebook and AppleID, so in the version 4.1, it was normal to show the Policy URI and the Terms of Service URI in the login page. The docs I followed are these ones: https://gluu.org/docs/gluu-server/4.2/operation/custom-design/ and https://gluu.org/docs/gluu-server/4.2/authn-guide/inbound-oauth-passport/

By Mobarak Hosen Shakil staff 02 Dec 2021 at 12:17 a.m. CST

Mobarak Hosen Shakil gravatar
Are you facing this issue after upgrading to 4.2?

By Alejandro Calderon user 02 Dec 2021 at 9:18 a.m. CST

Alejandro Calderon gravatar
Yes sir, but what we do it was not exactly an upgrade, we installed a brand new Gluu instance, with Gluu version 4.2.3 and then we created the Clients as we had them in the last version (4.1) and after that we migrated all of our users with LDAP and ldif files. Another problem we are facing in the new versions of Gluu, is the logout with the native mobile applications: https://support.gluu.org/log-out/10152/there-is-a-bug-with-movile-apps-logout-in-the-gluu-ce-version-42/

By Mooketsi Regoeng Account Admin 10 Feb 2022 at 7:17 a.m. CST

Mooketsi Regoeng gravatar
Hi Guys - what is the solution to this? The client logos only show on the consent page. Login page nothing even thought the code is identical. -Mooketsi

By Mobarak Hosen Shakil staff 22 Feb 2022 at 7:27 p.m. CST

Mobarak Hosen Shakil gravatar
Hi Alejandro and Mooketsi, let me correct please, you are using `IDP Initiated flow` of **Passport** with `openid connect`, right? Regards ~ Shakil