By: Md Mahabub Alam user 20 Nov 2019 at 5:05 a.m. CST

4 Responses
Md Mahabub Alam gravatar
Hi Team, I need support to write a better customer script which need to be triggered post password change or password reset. Also is there any easy way like a method to get access token in custom script since i am inside gluu only? which Don't see any trigger or method on password change - from org.xdi.model.custom.script.type.user import UpdateUserType So i need help on- 1. where i can get the method import path for password change 2. where i can get the method path for password reset, post password reset from mail(though password reset isn't happening for me in gluu-3.1.4) Any help is appreciated. Regards Md

By Mohit Mali staff 21 Nov 2019 at 4:30 a.m. CST

Mohit Mali gravatar
Hi Mahabub Alam, Thanks you for reaching out gluu support , I will assist you on this ticket.Let me grab some information from development team on this and get back to you. Thanks and Regards Mohit Mali

By Mohit Mali staff 21 Nov 2019 at 10:49 p.m. CST

Mohit Mali gravatar
Hi, Dev is unable to help unless you will not get clear instructions what you is trying to achive

By Md Mahabub Alam user 21 Nov 2019 at 11:51 p.m. CST

Md Mahabub Alam gravatar
@Mohit.Mali Hi Mohit, I am facing these below issues - 1. I have to trigger an api request through custom script(python) once user changes password(from their identity profile page) or reset password through via reset password mail but don't see any doc or references which method to override to achieve the goal. postUpdateUser method in UpdateUserType is there but it doesn't trigger on password change or reset. 2. Reset password mail getting generated but while resetting password from mail hyperlink it doesn't reset actually even the forms and function partially getting triggered and no failure or any other meaningful messages in the oxtrust logs about what happened. 3. It's optional - I need to get an access token in custom script for api request access through existing method where i can pass credentials to get the token. Let me know for further info or clarifications.

By Mohit Mali staff 22 Nov 2019 at 12:16 a.m. CST

Mohit Mali gravatar
Hi Md Mahabub Alam, In order to generate debug logs please change the logs levels. a) Login to oxtrust admin b) Move to json configuration tab c) Check both oxTrust,Oxauth tab d) change logging level to debug it will help to generate debug logs, let me know if this help Thanks and Regards Mohit Mali