jf23 0 Posted July 27, 2018 Share Posted July 27, 2018 good afternoon, i havent found this on swagger nor by searching the forum. is there a API Command to logout a User to force him to re-authenticate? appreciate any comments jf Link to comment Share on other sites More sharing options...
jf23 0 Posted July 27, 2018 Author Share Posted July 27, 2018 (edited) if sessions are the way to go, i have no idea how to call the logout, to inactive the AccessToken which was generated during the login https://github.com/MediaBrowser/Emby/wiki/User-Authentication If the user explicitly logs out, send a POST to /Sessions/Logout. This will revoke your access token. If the user closes the app without logging out, you can skip this and save the token for future use. A example code ( i am using python) would be apprecaited Edited July 27, 2018 by jf23 Link to comment Share on other sites More sharing options...
Luke 36879 Posted July 27, 2018 Share Posted July 27, 2018 The only way to logout a user on another device at this time would be to use the api to delete the device. 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