# What my workflow will look like if I try to achieve the following?

**URL:** <https://community.auth0.com/t/what-my-workflow-will-look-like-if-i-try-to-achieve-the-following/101141>\
**Category:** Get Help\
**Tags:** classic-universal-login-experience, login-experience\
**Created:** [February 23, 2023, 9:02am UTC](https://community.auth0.com/t/what-my-workflow-will-look-like-if-i-try-to-achieve-the-following/101141 "2023-02-23T09:02:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![saqlain5544](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/saqlain5544/32/44868_2.png) [@saqlain5544](https://community.auth0.com/u/saqlain5544)\
**Post date:** [February 23, 2023, 9:02am UTC](https://community.auth0.com/t/what-my-workflow-will-look-like-if-i-try-to-achieve-the-following/101141/1 "2023-02-23T09:02:30Z")

</div>

I want to create a user management system. Wherein users register, login, perform some actions abstracted by API and logout.  
Users sign in with password and email/username.  
The authentication system I want to achieve has following goals.

1. The api generates unique tokens for a user if he/she signs on on different devices or browsers.
2. It verifies the token on every request may be using Auth headers.
3. It invalidates a token based on some time and on the expiry of time itt regenerates a token and refreshes on the client side automatically. What is the client is inactive for a long time and the token expires? What should be done then?
4. It logs the user out.

---

<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 27, 2023, 3:30pm UTC](https://community.auth0.com/t/what-my-workflow-will-look-like-if-i-try-to-achieve-the-following/101141/3 "2023-02-27T15:30:58Z")

</div>

Hi @saqlain5544,

It sounds like you are describing general OAuth2 concepts and Auth0 features. I would suggest starting in our [docs](https://auth0.com/docs) and getting a general understanding of how Auth0 works.

---

<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:** [March 28, 2023, 1:25pm UTC](https://community.auth0.com/t/what-my-workflow-will-look-like-if-i-try-to-achieve-the-following/101141/4 "2023-03-28T13:25:17Z")

</div>

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