Skip to content

Support two simultaneous token configs #52

Closed
@edv4rd0

Description

@edv4rd0

This is the situation:

  • Users are authenticated via httpOnly JWT cookies with double submit csrf cookies (refresh tokens as well).
  • API clients use Authorization bearer tokens with IP whitelisting and no CSRF tokens (limited scope of operations, public API etc). The bearer token is sent to the API as JSON payload after they request an access token using their secret JWT refresh token.

I'm wondering how to go about supporting this. It's possible I have a stupid idea here though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions