Hello,
I am new with Auth0. I would like to receive user_metada & app_metadata within the ID_TOKEN or other part when I request a login. The request login is with php :
‘https://dev-6y43krdr.eu.auth0.com/authorize?
response_type=id_token token&
response_mode=form_post&
client_id=’.$client_id.‘&
client_secret=’.$client_secret.‘&
redirect_uri=’.$redir_uri_inp.‘&
scope=profile,email&
state=’.$state.‘&
nonce=CssGheServices’
Where is my mistake ? Tjanks a lot for help.
Gilbert
So you could have an Action like this (if there is a chance that metadata may not be present for certain users, I would recommend adding error handling / default values for these claims - whichever suits your use case better):