lenra-io / devtool

GNU Affero General Public License v3.0
5 stars 1 forks source link

[Bug]: Add expiration date to the Devtool OAuth token #210

Open taorepoara opened 10 months ago

taorepoara commented 10 months ago

What happened?

Connecting to the devtool with a custom client works but when the client try to reuse the token the next day an error occure since the token as expired on server side, but not on client side.

What browsers are you seeing the problem on?

No response

Version

No response

Relevant log output

No response

taorepoara commented 10 months ago

The OAuth flow seems to respond the same thing as Hydra one.

The problem might come from the Android version of the Emulator, the token might not work after a devtool restart or another problem.

To better understand the problem we should login to an app with the devtool and to another with the staging or production server (do not check the keep logged in). Close both apps and try to reconnect on the next day to see if there is a difference.

taorepoara commented 9 months ago

Got the same issue with a custom JS client on my computer.