AntaresFR 9 Posted November 3, 2019 Share Posted November 3, 2019 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 More sharing options...
ebr 15180 Posted November 3, 2019 Share Posted November 3, 2019 Hi. Just store the token you get after logging in once. Then continue to use that for as long as you wish. Link to comment Share on other sites More sharing options...
AntaresFR 9 Posted November 3, 2019 Author Share Posted November 3, 2019 Yes i'll end doing that or using AdditionalUsers of the generic user session. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now