# Java SDK : Authorization Code and Access Token Variable Size

**URL:** <https://community.auth0.com/t/java-sdk-authorization-code-and-access-token-variable-size/77393>\
**Category:** Get Help\
**Tags:** java\
**Created:** [February 1, 2022, 8:24am UTC](https://community.auth0.com/t/java-sdk-authorization-code-and-access-token-variable-size/77393 "2022-02-01T08:24:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![priya.sharma.9362](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/priya.sharma.9362/32/14302_2.png) [@priya.sharma.9362](https://community.auth0.com/u/priya.sharma.9362)\
**Post date:** [February 1, 2022, 8:24am UTC](https://community.auth0.com/t/java-sdk-authorization-code-and-access-token-variable-size/77393/1 "2022-02-01T08:24:39Z")

</div>

Please include the following information in your post:

- **Which SDK this is regarding:** auth0-java
- **SDK Version:** e.g. auth0-1.5.1.jar
- **Platform Version:** e.g. Java 8
- **Code Snippets/Error Messages/Supporting Details/Screenshots:** NA  
**Is this a feature request or bug report?** No

Hello Team,  
We are currently using **JAVA SDK auth0-1.5.1.jar** and other dependences relative to this version.  
Does this need any upgrade action on our side owing to the change in the token size as per the notification?  
P.S. We don’t do any hardcoded checks on the length of the token or access code in our application.  
We have mostly used all methods provided by the SDK.

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [February 3, 2022, 10:32pm UTC](https://community.auth0.com/t/java-sdk-authorization-code-and-access-token-variable-size/77393/3 "2022-02-03T22:32:39Z")

</div>

Hi @priya.sharma.9362,

Welcome back to the Auth0 Community!

If you are not relying on the size of the token, then you should be okay. With that said, I would test to make sure:

You should be able to test the new token length setting in your tenant by going to _Tenant Settings → Advanced_.

 ![Screen Shot 2022-02-03 at 2.27.59 PM](https://global.discourse-cdn.com/auth0/original/3X/1/8/18839ddb6fbc13f3d0177f65f0f2bc1e45982a9c.png)

I would also suggest upgrading to the most recent version of the SDK to be safe.

---

<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:** [February 18, 2022, 10:33pm UTC](https://community.auth0.com/t/java-sdk-authorization-code-and-access-token-variable-size/77393/4 "2022-02-18T22:33:28Z")

</div>

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