As we know there are three tokens involved in OpenIDConnect:
we usually place the ID token in the cookie in httpOnly mode.
My question is, where is the recommended storage of Access tokens? surely you need to store them in the app side.
You can store the tokens wherever you like, but the most common approaches are:
The ID-token usually have a very short lifetime (like 5 minutes from some providers) and it is used to create local "user" object.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With