Legacy Dev Forum Posts

 View Only

Sign Up

OAuth 2.0 Workflow does DA cache access_token

  • 1.  OAuth 2.0 Workflow does DA cache access_token

    Posted 06-05-2025 18:43

    faisyou | 2021-09-22 06:04:19 UTC | #1

    I was reviewing the OAutOAuth 2.0 workflow

    What I want to clarify is - do we request access token for every request or do we request the access token once and then cache the token until the token expires (which is also normally returned in the OAuth grant token request).


    Jason_Mathison | 2021-09-22 12:44:30 UTC | #2

    The response is cached and reused until either our internal cache timeout expires or we get an authentication error attempting to use the token. There are a few more details involved so if you watch your logs you will see us get a few tokens, but it should be far less than 1 token per request.

    --Jason


    faisyou | 2021-09-22 12:45:23 UTC | #3

    thanks Jason - appreciated


    system | 2021-10-23 12:46:23 UTC | #4

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 12082