I will be using a OAuth and openId connect. My application will be having a separate authorization server and resource server. I want to implement a POC. I have few questions: 1. How to store the received access token in my application? what is best option? to store in DB or session / cookie? 2. How will the resource server validate the access token generated by authorization server? 3. How to implement session management in my application? I read that openId connect is stateless, but to validate the token I need to maintain session, very confused.
I have read a lot but could not find this scenario where Authorization and resource server are separate.