Open rndmh3ro opened 1 year ago
When trying to login to the API (according to https://tt-rss.org/wiki/ApiReference), I always get redirected to the SSO login:
curl -L -d '{"op":"login","user":"xx","password":"xx"}' http://example.com/tt-rss/api/ <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>YunoHost Portal</title> <!-- Responsive --> <meta name="format-detection" content="telephone=no" /> <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1" /> <!-- Do not index SSOWat pages --> <meta name="robots" content="noindex, nofollow"> <!-- Stylesheets --> <link rel="stylesheet" href="assets/css/ynh_portal.css"> <link rel="stylesheet" href="assets/themes/default/custom_portal.css"> <!-- Icons -->
curl -L -d '{"op":"login","user":"xx","password":"xx"}' http://example.com/tt-rss/api/
I get a response from the API.
Describe the bug
When trying to login to the API (according to https://tt-rss.org/wiki/ApiReference), I always get redirected to the SSO login:
Context
Steps to reproduce
Expected behavior
I get a response from the API.