R. Wright
R. Wright

Reputation: 1035

Best Way to Validate Access Token?

I'm looking to implement services where the client will pass the access_token from Sonos to the service I host.* Is there a good way to validate that access_token from the client is valid and get the user id? For reference, I'm thinking of something similar to googleapis.auth.OAuth2.verifyIdToken.

Thanks!

Upvotes: 0

Views: 116

Answers (1)

Matt Welch
Matt Welch

Reputation: 837

I'm not 100% clear about what you're trying to do, and I'm a little concerned that it runs afoul of sect 10.3 of the OAuth 2.0 spec, but validating a token should be as simple as performing a simple GET /households.

Upvotes: 1

Related Questions