By: harmanjeet singh user 19 Feb 2018 at 1:21 a.m. CST

4 Responses
harmanjeet singh gravatar
I want to redirect user to my site rather than Gluu's oxtrust login screen after successfully reset its password.For this one of your staff member suggest changes in oxtrust_en.properties file . For this i had download identity.war and extract it and get same properties file from it and done changes in it . After that i compress and create modified identity.war and replace it at /opt/gluu/jetty/identity/webapps/ After replacing restart all services . After that when i try to open oxtrust UI with by hitting Url (where Gluu is pointed ) it will give 403 error. This happen every time i tried to change in any war.

By Thomas Gasmyr Mougang staff 19 Feb 2018 at 2:37 a.m. CST

Thomas Gasmyr Mougang gravatar
Hi Harmanjeet, The file oxtrust_en.properties is for oxTrust admin UI localization. I'm afraid there is no relation between what you are want to achieve and this file. Nevertheless here is the procedure to changed this file and deploy without getting 403 error. - Make a copy of the original war. ``` #cp /opt/gluu/jetty/identity/webapps/identity.war /identity_save.war ``` - Make a directory to work in. ``` #mkdir lab ``` - Copy the original war into lab ``` #cp identity.war lab/ ``` - Change directory ``` #cd lab ``` - Extract to original war inside identity folder(the command will create the folder behind the scene). ``` #unzip identity.war -d ./identity ``` - Create a folder named `WEB-INF/classes` in side `lab`. ``` #mkdir -p WEB-INF/classes ``` - Copy `oxtrust_en.properties` from `identity` folder to `WEB-INF/classes` folder ``` #cp identity/WEB-INF/classes/oxtrust_en.properties WEB-INF/classes/oxtrust_en.properties ``` - Remove `identity` folder ``` #rm -rf identity ``` - Update the `oxtrust_en.properties` per your requirement. - Now copy back the `oxtrust_en.properties` in the original war ``` zip -u identity.war WEB-INF/classes/oxtrust_en.properties ``` - Copy back the updated war in its location ``` cp identity.war /opt/gluu/jetty/identity/webapps/identity.war ``` - Restart the identity service ``` #service identity restart ``` > I want to redirect user to my site rather than Gluu's oxtrust login screen after successfully reset its password.For this one of your staff member suggest changes in oxtrust_en.properties file. Harmanjeet, please can you share the link where this conversation took place. Thanks!

By harmanjeet singh user 19 Feb 2018 at 3:40 a.m. CST

harmanjeet singh gravatar
Hi Thomas Gasmyr Mougang This is the link of other ticket which you had asked for. please review. https://support.gluu.org/authentication/5057/in-case-of-forgot-password-how-can-i-change-redirect-url-after-resetpassword/ Thanks

By Thomas Gasmyr Mougang staff 19 Feb 2018 at 4:15 a.m. CST

Thomas Gasmyr Mougang gravatar
Apply the steps provide in my previous reply and let me know if that solved your issue(403 error). Looking forward to hear from you. Thanks!

By harmanjeet singh user 19 Feb 2018 at 4:41 a.m. CST

harmanjeet singh gravatar
Hi Thomas yes issue (403 error ) is solved . Thanks for that but can you also help on https://support.gluu.org/authentication/5057/in-case-of-forgot-password-how-can-i-change-redirect-url-after-resetpassword/ Becacuse this is my main motive for changing properties file but not achieved even after done modification .