Skip to content

BugFix:Token Validation#42

Merged
rudyfraser merged 1 commit intoblacksky-algorithms:mainfrom
TheRipperoni:ValidTokensOnly
Feb 3, 2025
Merged

BugFix:Token Validation#42
rudyfraser merged 1 commit intoblacksky-algorithms:mainfrom
TheRipperoni:ValidTokensOnly

Conversation

@TheRipperoni
Copy link
Contributor

Current token validation behavior causes tokens to always be expired as the token is measured in seconds, but the comparison uses microseconds. This fixes that issue.

In addition, the bsky client doesn't allow for certain characters in the token value, so have removed those from possible values to allow for support.

2. Updates possible token values to be those allowed in the bsky client
@TheRipperoni
Copy link
Contributor Author

Saw it didn't like my format, will update

@TheRipperoni
Copy link
Contributor Author

Actually,I'm not sure what the problem is with it

@rudyfraser
Copy link
Member

Don't worry about the formatting. I'll hit everything with a cargo fmt after merge.
I'll review and let you know if there's any feedback.

@rudyfraser rudyfraser merged commit af4db30 into blacksky-algorithms:main Feb 3, 2025
3 of 4 checks passed
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

Successfully merging this pull request may close these issues.

2 participants