SSO between my frontend and my custom CMS

Hello everyone, thanks in advance for your time.
The thing that I want and I don’t know if it is possible is to authenticate a user in my frontend, but instead of storing the tokens in cookies, I want to store the tokens in Redis, so then when the user goes to my custom cms I can validate with Redis and use SSO between the 2 apps.

Is there documentation about this? Is it possible?

Thanks a lot!