Authentication from Post login to save meta details in AWS

Hello,

I’m looking to save the meta details to AWS DynamoDB after someone logins in. I have an action that runs on Post login flow, I’m trying to figure out whats the best way to secure that API call

Is it possible to get an access token from the onExecutePostLogin function for the user that has just been created or would I need to create some other server to server credentials?

Thanks in advance,
Ej

Hi @ejtabex,

Welcome to the Auth0 Community!

Have you taken a look at Auth0 Action Secrets?

This should allow you to store sensitive information such as Access Tokens and API Keys that you can use to make your API calls.

Please let me know how this works for you.

Thanks.