Jump to content

Recommended Posts

Posted

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

Posted (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 by jf23
Posted

The only way to logout a user on another device at this time would be to use the api to delete the device.

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