APM & Azure AD Oauth : using JWT values
I've successfully setup Azure AD Oauth with APM using this guide : https://my.f5.com/manage/s/article/K53313351
After logging in, I see (with the Oauth trace plugin for chrome) that Azure AD returns a JWT containing my username, firstname, lastname, preffered_username ect.
I'd like to use those information to identify the session in APM (currently the sessions doesn't display any username), and also send some of those values back to the app.
What are the required steps to map the preffered_username in the JWT as the session username in APM ?
Thanks for your help !