back
▲ 3 points

Ask HN: Is using/storing id tokens in the browser considered save now?

by WolfOliver·3y ago·2 comments·view on hn ↗
Looking at the firebase documentation it seems it is simply possible for the client side javascript to obtain the odic id token via getIdToken.

A few years ago this was considered unsave and instead sessions should be used an the session Id should be replaced by the JWT token on the server side.

I'm wondering what is the current best practice?

2 comments
If I'm not mistaken, in the context of openid connect all id tokens are JWT tokens. At least it is the most common version.