pyroscope icon indicating copy to clipboard operation
pyroscope copied to clipboard

Implement token rotation

Open kolesnikovae opened this issue 2 years ago • 0 comments

In order to make user authentication more secure we need to implement refresh tokens with rotation:

  • https://auth0.com/docs/secure/tokens/refresh-tokens
  • https://auth0.com/docs/secure/tokens/refresh-tokens/refresh-token-rotation

Useful links:

  • https://dev.to/cotter/localstorage-vs-cookies-all-you-need-to-know-about-storing-jwt-tokens-securely-in-the-front-end-15id

Depends on:

  • https://github.com/pyroscope-io/pyroscope/pull/739
  • https://github.com/pyroscope-io/pyroscope/issues/802

kolesnikovae avatar Feb 07 '22 19:02 kolesnikovae