DS-Software / ULS

PHP login system for DS Software.
https://login.dssoftware.ru/
Creative Commons Zero v1.0 Universal
2 stars 0 forks source link

Change Access Tokens to be JWT-like #27

Closed DSSoftware closed 2 years ago

DSSoftware commented 2 years ago

It should consist of different parts:

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.

DSSoftware commented 2 years ago

Resolved

This issue will be fixed in the next release.