How to access Admin API

Hello,
i need to list my flows using /flows. i checked the doc from node-red for /auth/login but my response it's like this i tried to authenticate with token /auth/token give me Error
/auth/login

{
  "type": "strategy",
  "autoLogin": true,
  "loginRedirect": "auth/strategy",
  "prompts": [
    {
      "type": "button",
      "label": "OpenID Connect",
      "url": "auth/strategy",
      "icon": "fa-cloud"
    }
  ]
}

/auth/token

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Error</title>
  </head>
  <body>
    <pre>Cannot POST /auth/token</pre>
  </body>
</html>

Hi @mus - welcome the forums

If the login methods require an interactive engagement (like using a redirect that OpenID requires I think), Im not sure the API login methods will work.

I may be utterly incorrect here - @knolleary?
The inner workings of authentication in Node RED is not something I'm overly knowledgeable in

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.