ahopkins / sanic-jwt

Authentication, JWT, and permission scoping for Sanic
http://sanic-jwt.readthedocs.io
MIT License
242 stars 52 forks source link

Many token/refresh for single user #201

Open bastiendonjon opened 4 years ago

bastiendonjon commented 4 years ago

Hello,

I'm looking for a solution to persist many refresh_token by user. Our users are loggin with many devices.

For that, we want to add device_id with the current user_id.

But, store_refresh_token and retrieve_refresh_token are only user_id parameter.

Do you have any ideas for this use case ?

ahopkins commented 3 years ago

Is this still relevant? Cleaning out my GH notifications and this one got lost. Sorry about that.