# Authentication from Post login to save meta details in AWS

**URL:** <https://community.auth0.com/t/authentication-from-post-login-to-save-meta-details-in-aws/81812>\
**Category:** Get Help\
**Created:** [April 15, 2022, 7:48am UTC](https://community.auth0.com/t/authentication-from-post-login-to-save-meta-details-in-aws/81812 "2022-04-15T07:48:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ejtabex](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ejtabex/32/30808_2.png) [@ejtabex](https://community.auth0.com/u/ejtabex)\
**Post date:** [April 15, 2022, 7:48am UTC](https://community.auth0.com/t/authentication-from-post-login-to-save-meta-details-in-aws/81812/1 "2022-04-15T07:48:11Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [April 22, 2022, 10:35pm UTC](https://community.auth0.com/t/authentication-from-post-login-to-save-meta-details-in-aws/81812/3 "2022-04-22T22:35:00Z")

</div>

Hi @ejtabex,

Welcome to the Auth0 Community!

> [@ejtabex](#):
>
> 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

Have you taken a look at [Auth0 Action Secrets](https://auth0.com/docs/customize/actions/write-your-first-action#add-a-secret)?

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.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [December 22, 2022, 9:32am UTC](https://community.auth0.com/t/authentication-from-post-login-to-save-meta-details-in-aws/81812/4 "2022-12-22T09:32:17Z")

</div>


