Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Other implementations #5

Open
StevenACoffman opened this issue Jan 17, 2025 · 0 comments
Open

Other implementations #5

StevenACoffman opened this issue Jan 17, 2025 · 0 comments

Comments

@StevenACoffman
Copy link

StevenACoffman commented Jan 17, 2025

Hey, like you I really enjoyed the article API Tokens: A Tedious Survey, and looked for protobuf token libraries, and found yours and https://github.com/ThatsMrTalbot/prototoken

However, I have also found:

Additionally, I found that the author of that article implemented them in the flynn.io codebase (now archived):

message SignedData {
    bytes data = 1;

    bytes signature = 2;
}

message AccessToken {
    string client_id = 1;

    string user_id = 2;

    string user_email = 3;

    google.protobuf.Timestamp issue_time = 4;

    google.protobuf.Timestamp expire_time = 5;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant