Hi, im trying to insert the email into de accessToken. I’m using a m2m application.
I created a Client Credentials exchange hooks, but in the base script I can’t see a params that actually add the user’s email.
Please if someone can help me
Hi there @barriaandradedaniel sorry for the delayed response, but welcome to the community!
Given that this is an m2m communication (client credentials), there isn’t any user involved and therefore no email. You’ll want to look into using a different authentication/authorization flow and application type - These are outlined here:
Our documentation on common architecture scenarios could be helpful as well:
Hope this helps!