Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Enable username and password logins via the API

#339

Reported by Travis Bell · January 17th, 2014 @ 11:13 AM

State: resolved
Milestone: J. Edgar
Assigned to: Travis Bell Travis Bell

Activity

  1. Travis Bell
    Travis Bell
    • State changed from new to started

    January 23rd, 2014 @ 12:49 PM

  2. Travis Bell
    Travis Bell
    • State changed from started to resolved

    January 23rd, 2014 @ 02:25 PM

  3. Michael Roterman
    Michael Roterman

    Currently calling GET /3/authenticate/:valid_request_token/validate_with_login?username=:valid_username&password=:valid_password&api_key=:valid_api_key returns a 404, am I doing something wrong?

    March 5th, 2014 @ 05:48 PM

  4. Travis Bell
    Travis Bell

    The flow is the exact same as a non u/p auth. Once you get an auth token:

    http://api.themoviedb.org/3/authentication/token/new?api_key=###
    

    Head over to the website:

    https://www.themoviedb.org/authenticate/REQUEST_TOKEN/validate_with_login?username=&password=
    

    I could add the ability to do this API side, but right now you can't. I guess it depends on the use case, when I built this it was for a client that had a view. I can appreciate how in your context it doesn't make any sense.

    This is why it's not public yet ;)

    March 6th, 2014 @ 07:32 AM

  5. Michael Roterman
    Michael Roterman

    Hi Travis,

    Will this be implemented as such in the future or can I remove this feature branch? I do believe such an implementation does make sense, and a SSL protocol restriction should apply ( obviously ).

    Thanks!

    March 8th, 2014 @ 03:24 PM

  6. Travis Bell
    Travis Bell

    I've created a new ticket for this, #363 Create auth workflow to login via the API with a username and password.

    In regards to time, not sure. I've been in a bit of a maintenance mode for the past week or two, planning to continue for probably another week. Then I'll take a peak at some feature work.

    March 11th, 2014 @ 08:31 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.