# How to validate opaque access token?

**URL:** <https://community.auth0.com/t/how-to-validate-opaque-access-token/161810>\
**Category:** Get Help\
**Tags:** login-experience, new-universal-login-experience\
**Created:** [December 12, 2024, 11:35am UTC](https://community.auth0.com/t/how-to-validate-opaque-access-token/161810 "2024-12-12T11:35:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bryce.wayne.person](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/bryce.wayne.person/32/59788_2.png) [@bryce.wayne.person](https://community.auth0.com/u/bryce.wayne.person)\
**Post date:** [December 12, 2024, 11:35am UTC](https://community.auth0.com/t/how-to-validate-opaque-access-token/161810/1 "2024-12-12T11:35:27Z")

</div>

Could you please tell me how to implement validation for signature of opaque access token?

Standard web application. Frontend+Backend(Golang).  
Regular Web Application in auth0 dashboard. Using authorization code flow.  
I am implementing this scenario:

1. The user registered through the login page (passed the authorization code flow). The resulting opaque access token backend save in a cookie. And also i save refresh token for this access token in database.  
Next, all API requests from the frontend are sent with the received opaque access token in cookie.

2. For each API request from the frontend like this, backend do this: **validate the access token(signature)** from the cookie → see if it is expired → if it is expired, then refresh it using refresh token. And set new access token in cookie. P.S. Refresh token rotation is on of course.

---

<div class="post-metadata">

**Author:** ![bryce.wayne.person](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/bryce.wayne.person/32/59788_2.png) [@bryce.wayne.person](https://community.auth0.com/u/bryce.wayne.person)\
**Post date:** [December 13, 2024, 5:37pm UTC](https://community.auth0.com/t/how-to-validate-opaque-access-token/161810/4 "2024-12-13T17:37:06Z")

</div>

Hi!  
Could you help me please  
i can not implement my scenario because of opaque access token

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [December 16, 2024, 2:48pm UTC](https://community.auth0.com/t/how-to-validate-opaque-access-token/161810/5 "2024-12-16T14:48:56Z")

</div>

Hi @bryce.wayne.person

Welcome back to the Auth0 Community!

I’ve answered to your questions under your other topic → [How to set up a authorization code flow correctly? - #3 by dawid.matuszczyk](https://community.auth0.com/t/how-to-set-up-a-authorization-code-flow-correctly/162642/3)

Thanks  
Dawid

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [December 30, 2024, 2:49pm UTC](https://community.auth0.com/t/how-to-validate-opaque-access-token/161810/6 "2024-12-30T14:49:29Z")

</div>

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