Skip to content

Change Access Tokens to be JWT-like #27

@DSSoftware

Description

@DSSoftware

It should consist of different parts:

  • User ID
  • Token Scopes
  • Token Verification

Example:

{ "UserID:": 0, "TokenScopes": { "Friends": true }, "TokenVerification": "TokenVerificationHash" }

And it should be in Base64:
eyJVc2VySUQ6IjogMCwiVG9rZW5TY29wZXMiOnsiRnJpZW5kcyI6IHRydWV9LCJUb2tlblZlcmlmaWNhdGlvbiI6ICJUb2tlblZlcmlmaWNhdGlvbkhhc2gifQ==

This will be needed to add different scopes in the future.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FixedThis issue was fully fixed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions