Hello @neupanenirajan,
Do you want to get a list of all available roles from WordPress? Or do you want to check what role does the user has?
I was thinking to add the user role on the /auth/validate and on the register user endpoints. Will this help you?
Best regards,
Nicu.
I want to check the what role does a user has
Hello @neupanenirajan,
Now you can see the users roles on register user and when you validate a token on /auth/validate. This change is available with the latest plugin version version 3.4.2
Please let me know what do you think.
Also, please don’t forget to rate this plugin.
Best regards,
Nicu.
Thanks @nicu_m You are a life saver.