# Permanent Oauth2 Access Tokens

**URL:** <https://forum.mautic.org/t/permanent-oauth2-access-tokens/4366>\
**Category:** Ideas and Feature Requests\
**Created:** [June 17, 2016, 3:35pm UTC](https://forum.mautic.org/t/permanent-oauth2-access-tokens/4366 "2016-06-17T15:35:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![djd](https://avatars.discourse-cdn.com/v4/letter/d/41988e/32.png) [@djd](https://forum.mautic.org/u/djd)\
**Post date:** [June 17, 2016, 3:35pm UTC](https://forum.mautic.org/t/permanent-oauth2-access-tokens/4366/1 "2016-06-17T15:35:18Z")

</div>

I’m looking to use the Mautic API to connect it with my website to automatically add users to Mautic in the back-end. In order for this to properly work I need a non-expiring access token. I currently just have the expiration value set to the maximum, but it’d be much more efficient if we could just set the token to non expiring so the back-end will never have to re-authenticate.

---

<div class="post-metadata">

**Author:** ![djd](https://avatars.discourse-cdn.com/v4/letter/d/41988e/32.png) [@djd](https://forum.mautic.org/u/djd)\
**Post date:** [June 17, 2016, 3:35pm UTC](https://forum.mautic.org/t/permanent-oauth2-access-tokens/4366/2 "2016-06-17T15:35:18Z")

</div>

I’m looking to use the Mautic API to connect it with my website to automatically add users to Mautic in the back-end. In order for this to properly work I need a non-expiring access token. I currently just have the expiration value set to the maximum, but it’d be much more efficient if we could just set the token to non expiring so the back-end will never have to re-authenticate.
