Steps
- Option A: publish your OAuth consent screen to Production in Google Cloud
- Option B: use Jhajha — tokens are stored encrypted and refreshed automatically
- Replace your OAuth code with a single API key call
Example (bash)
curl https://blogjh.lovable.app/api/public/v1/posts -H "Authorization: Bearer bpk_live_YOUR_KEY"FAQ
What does invalid_grant mean?
The refresh token was revoked, expired, or issued to a testing-mode app. You must re-authorize the user.
