djjd47130 / JD-TMDB

TMDB API Wrapper for Delphi
MIT License
4 stars 0 forks source link

Error 401 #1

Closed UncleWael closed 1 month ago

UncleWael commented 1 month ago

Hello , Thank you for your efforts. While I'm trying out your test demo , it keeps reporting HTTP error 401 Unauthorized when login, as shown in attached screenshot. of course I've included the openssl library in the deployment folder of the test demo, a little help here will be appreciated.

Greetings.

Untitled-1 copy

djjd47130 commented 1 month ago

Hi,

This project is still in very raw development, and login is not yet supported. Currently, all development is related to unauthenticated (anonymous) users - not even the "Guest" option is expected to work at this time. Most requests will work, just not anything which requires an account / session.

djjd47130 commented 2 weeks ago

Hello , Thank you for your efforts. While I'm trying out your test demo , it keeps reporting HTTP error 401 Unauthorized when login, as shown in attached screenshot. of course I've included the openssl library in the deployment folder of the test demo, a little help here will be appreciated.

Greetings.

Untitled-1 copy

UPDATE

The API wrapper(s) and application now support user authentication via either "Guest" or "Credentials". The preferred browser-based login is not yet implemented, but will consist of an event that must be handled to open a web browser of choice and monitor for a result. This way the wrapper does not require any direct ties to any web browsers, but leave that responsibility to the developer. But the test app even caches session ID and restores your user session when you launch it.