Closed davidbe closed 4 months ago
Describe the bug Are the wiki-pages (https://github.com/add-ons/plugin.video.vtm.go/wiki/Authentication-API) up to date?
To Reproduce Steps to reproduce the behavior:
Perform Redirect Request 1:
curl -X GET \ -H 'Cookie: authId=2dc44dfb-514f-48cb-9962-71836534ee41' \ 'https://login2.vtm.be/authorize?response_type=code&response_mode=form_post&client_id=vtm-go-web&scope=openid%20profile&state=nQhCIMGeFoK6oyNZ-G8S8tA47r8Yt3EsqanKbBl4FgY=&redirect_uri=https://vtm.be/vtmgo/login-callback'
Response contains html with error that login with user & password aren't supported anymore.
Expected behavior A positive response.
--> I guess that the wiki-page is outdated. Can you point out where authentication is started in the code?
The wiki page isn't up to date. Only device login is supported now. See https://github.com/add-ons/plugin.video.vtm.go/blob/master/resources/lib/vtmgo/vtmgoauth.py for the code
Describe the bug Are the wiki-pages (https://github.com/add-ons/plugin.video.vtm.go/wiki/Authentication-API) up to date?
To Reproduce Steps to reproduce the behavior:
Perform Redirect Request 1:
Response contains html with error that login with user & password aren't supported anymore.
Expected behavior A positive response.
--> I guess that the wiki-page is outdated. Can you point out where authentication is started in the code?