Skip to content
This repository has been archived by the owner on Apr 13, 2020. It is now read-only.

Refreshed access_token increases in size for each refresh #16

Open
ksolberg opened this issue Oct 8, 2019 · 0 comments
Open

Refreshed access_token increases in size for each refresh #16

ksolberg opened this issue Oct 8, 2019 · 0 comments

Comments

@ksolberg
Copy link

ksolberg commented Oct 8, 2019

I'm refreshing every 30 sec:

const config = { headers: {'Content-Type': 'application/x-www-form-urlencoded' }}

axios.post('/token', qs.stringify({ refresh_token: refreshToken, grant_type: 'refresh_token' }), config)

For each request, the returned access_token increases in size. After ~1-2hrs it's about 20k.

Edit: decoded the token and DateCreated is added each time:

...
"DateCreated": [
"08.10.2019 07.09.49",
"08.10.2019 07.10.18",
"08.10.2019 07.10.48",
"08.10.2019 07.11.18",
"08.10.2019 07.11.48",
"08.10.2019 07.12.18",
"08.10.2019 07.12.48",
...

https://github.com/Xabaril/JWTSimpleServer/blob/master/src/JWTSimpleServer/JwtTokenEncoder.cs#L30

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant