By: cs chong user 16 May 2018 at 4:41 a.m. CDT

6 Responses
cs chong gravatar
Is there a way to customise the consent page ? like for example, change the theme or even css.

By Michael Schwartz Account Admin 16 May 2018 at 4:56 a.m. CDT

Michael Schwartz gravatar
Yes, there is a consent interception script. You can even implement a multi-step consent workflow. It's a new feature, so there is not tons of documentation. But the interception script is "front-channel" (i.e. it requires browser interaction with the person), so it's very similar to writing an authentication interception script.

By cs chong user 16 May 2018 at 5:09 a.m. CDT

cs chong gravatar
I thin I know where to configure the multi-step consent, it's in ``` Gluu > Configuration > Manage Custom Scripts > Consent Gathering > Script ``` Do you know where is the location of this file "/authz/authorize.xhtml"?

By Thomas Gasmyr Mougang staff 16 May 2018 at 5:18 a.m. CDT

Thomas Gasmyr Mougang gravatar
The consent page `/authz/authorize.xhtml` is in the `oxauth.war`. 1. Login into gluu container 1. cd into `/opt/gluu/jetty/oxauth/webapps` 1. Extract the `oxauth.war` 1. The `/authz/authorize.xhtml` is in the extracted folder. Always save a copy of the current war before any customization. If you need help for customization, let us know.

By Thomas Gasmyr Mougang staff 19 May 2018 at 1:53 a.m. CDT

Thomas Gasmyr Mougang gravatar
Hi **Chong**, Do you need more assistance or can we close this ticket?

By cs chong user 20 May 2018 at 8:45 a.m. CDT

cs chong gravatar
Ok thanks, you may close this ticket. just wonder, can you help me re-enable ticket #5476 ?

By cs chong user 20 May 2018 at 8:59 a.m. CDT

cs chong gravatar
Thanks !