Welcome to the PufferPanel community forums! Please visit our discord for support: https://discord.gg/v8dz49e

API authorization



  • Hello. I'm trying get auth via API. I'm sending POST request to /oauth2/token/request with grant_type=password, username & password, but i've getting {"error":"invalid_token"}. What i'm doing wrong?



  • You cannot use the password grant type, you need to use client_credentials, which means you need to create those through the "Remote Requests" tab in the server you want to set up to use the API with.


Log in to reply
 

1
Online

1.1k
Users

946
Topics

3.8k
Posts