Jump to content

Login as a user with admin token


AntaresFR

Recommended Posts

Hi,

Is there a mean to login as a specific user through API if we have an admin token ?

My goal is to keep my local user having their password for classic emby usage, but :

 

I'm developping a personnal app which alow many things in my house like playing music, watching movies, etc...

I dont want to store emby password in my app so currently i'm using a generic user with a known password, I make a request to get an access token and a PlaySessionId for this user and it permits me to play the item i want.

 

I hoped to make a request to the /Users/AuthenticateByName and forced the authentifaction with an api key but i'm not able to do it.

 

Is there a mean ?

I really want to avoid storing plain text password in my app :(

 

Regards

Link to comment
Share on other sites

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...