Answer the question
In order to leave comments, you need to log in
Why does github personal token stop working?
Hello!
There was a problem, I made an application on react with graphql that uses api github, got Personal access tokens
like everything works, but after a while, the token stops working, the error Failed to load resource comes: the server responded with a status of 401 (Unauthorized) . If I create a new token, then everything works again, but I need to publish the project so that they can see it, but there will be embarrassment. How can I solve the problem so that the token does not fall off?
Answer the question
In order to leave comments, you need to log in
Oauth mate doesn't encourage long live tokens
are you a programmer or what? (with)
AFAIK github Personal access tokens are perpetual, so I would check what is wrong with the application.
By the way, it is easy to check the token manually - use curl to access the GutHub API.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question