Jump to content

help with authentication


Recommended Posts

hygorfragas
Posted (edited)

it seems to me that everything tends to go wrong hahaha, I want you to help me figure this out, I'm trying to get the answer from the call /user_usage_stats/session_list for that I have to have the authorization key. I need to post to /emby/Users/AuthenticateByName to get this key. I think I'm doing everything right, but now my return is "Invalid username or password entered." and not! the username and password are not wrong, I also tried to get the correct userid. can you help me point out what's wrong? I'm using postman and below are the images with everything as it was done

 

image.thumb.png.51710fcd5d0e7b9f28495b888c79aae1.png1431235003_InkedCapturadetela2021-08-24175648_LI.thumb.jpg.621892a850f7988079778b43e51f2697.jpg

 

 

Edited by hygorfragas
hygorfragas
Posted

I just found this in the log, what can I be doing?

log.thumb.png.e103bc5e77aca6c7020c82b7117ae37a.png

Posted

The authorization param that you have in the query string needs to be in the header.

The wiki I've linked you to in other topics goes over all of this.

hygorfragas
Posted
2 hours ago, Luke said:

The authorization param that you have in the query string needs to be in the header.

The wiki I've linked you to in other topics goes over all of this.

Hello @Luke please but it's not simple sometimes. a question came to me while I was puzzled why do you need this authorization and all this twist if i have an api key!? Is not having this key already the greatest credential? create, edit, view user is possible only with api key ? please answer me. thank's for your time 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...