Reputation: 711
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.
Upvotes: 4
Views: 3027
Reputation: 19921
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.
Upvotes: 2