IAmSasha 0 Posted April 20, 2019 Share Posted April 20, 2019 Hi! I've been developing a web app which uses Emby for authentication, and i've got everything working fine with that. The next step is wanting to validate all requests with the access token that is returned. I'm not sure which endpoint I am best calling however in order to validate this. Hopefully someone can assist here. Thanks! Link to comment Share on other sites More sharing options...
Luke 37099 Posted April 20, 2019 Share Posted April 20, 2019 Hi, what do you mean by validating all requests? You're not going to receive requests, right? If you are using the Emby api then the answer is to simply try to use the access token as part of a request. If it's no longer valid the server will throw an error. Link to comment Share on other sites More sharing options...
IAmSasha 0 Posted April 20, 2019 Author Share Posted April 20, 2019 Hi, I currently use my emby server's authentication side to log users into the app. Once they login and recieve an access token, I want to be able to check that token with my emby server on every request they sent to my API. Thanks Link to comment Share on other sites More sharing options...
Luke 37099 Posted April 20, 2019 Share Posted April 20, 2019 Then you probably just want to make a small request using that token. 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