Skip to content

Getting rate limit #2818

Sep 14, 2024 · 4 comments · 1 reply
Discussion options

You must be logged in to vote

After some more searching it looks like this is because they want us to use JWT tokens instead of logging the agent in every time. I've figured out how to save and refresh my token - is there a simple way of getting the Atproto/BskyAgent to use the token instead of the agent.login(...) from the tutorials? I'd like to use the agent.uploadBlob and agent.post calls I've already written instead of re-writing those as fetchs. I've tried a few things but it seems to be ignoring any headers I try and set in the constructor or those I set by configuring a static fetch handler.

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@dankbl
Comment options

Answer selected by bnewbold
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants