Authentication failed for, but running the command again works?

I found this setting here Config Cheat Sheet | Gitea Documentation
Increasing ACCESS_TOKEN_EXPIRATION_TIME to 24 hours from 1 hour does improve it.
It happens way less often now and it works for me.

2 Likes