Validate a Token (2024)

There are two ways to validate an access token depending on the type:

  • A JWT is validated by checking its signature. The tenant certificate is the public key.
  • An opaque token is validated using the /oauth2//introspect/ endpoint and passing the access token or refresh token via the token body parameter:
POST https://tenant.my.centrify.net/oauth2/introspect/jamestest1234 HTTP/1.1Authorization: Basic amFtZ...Content-Type: application/x-www-form-urlencodedtoken=eyJhbGci...

The active field in the response indicates if the token is currently active:

{ "active":false}

Validating ID Tokens

There are two ways to validate an ID token:

  • Use the /oauth2//introspect/ endpoint to get the token's active status (see example above).
  • Use the /Security/whoami endpoint passing the code as a Bearer in the Authorization header:
POST https://tenant.my.centrify.net/security/whoamiAuthorization: Bearer eyJhbGci...Content-Type: application/json

The Result field in the response contains information about the user who was authorized on the tenant using the specified token, which implies that the token is valid.

{ "success":true, "Result":{ "TenantId":"mytenant", "User":"[emailprotected]", "UserUuid":"c2c7..." }, "Message":null, "MessageID":null, "Exception":null, "ErrorID":null, "ErrorCode":null, "InnerExceptions":null}

Try the API in Postman:
Validate a Token (1).
Click here for help with using our sample Postman collection.

Updated about 3 years ago

Validate a Token (2024)
Top Articles
Countries to visit close to Amsterdam
Should You Use Venmo as a Payment Method for Your Small Business?
9.4: Resonance Lewis Structures
Friskies Tender And Crunchy Recall
123 Movies Black Adam
What Are the Best Cal State Schools? | BestColleges
Jonathon Kinchen Net Worth
Craigslist Pet Phoenix
Noaa Weather Philadelphia
Overzicht reviews voor 2Cheap.nl
Bed Bath And Body Works Hiring
Mikayla Campinos Videos: A Deep Dive Into The Rising Star
Myql Loan Login
Cvs Learnet Modules
Shooting Games Multiplayer Unblocked
Notisabelrenu
Trini Sandwich Crossword Clue
Citymd West 146Th Urgent Care - Nyc Photos
Marion County Wv Tax Maps
Wisconsin Women's Volleyball Team Leaked Pictures
Powerball winning numbers for Saturday, Sept. 14. Check tickets for $152 million drawing
Tygodnik Polityka - Polityka.pl
Military life insurance and survivor benefits | USAGov
All Breed Database
Egusd Lunch Menu
Scott Surratt Salary
NV Energy issues outage watch for South Carson City, Genoa and Glenbrook
Santa Barbara Craigs List
Visit the UK as a Standard Visitor
Best Restaurants Ventnor
Till The End Of The Moon Ep 13 Eng Sub
Isablove
Springfield.craigslist
Whas Golf Card
How does paysafecard work? The only guide you need
A Man Called Otto Showtimes Near Carolina Mall Cinema
What Time Is First Light Tomorrow Morning
Daily Jail Count - Harrison County Sheriff's Office - Mississippi
Magicseaweed Capitola
Lyca Shop Near Me
Metro Pcs Forest City Iowa
The Largest Banks - ​​How to Transfer Money With Only Card Number and CVV (2024)
Luvsquad-Links
Immobiliare di Felice| Appartamento | Appartamento in vendita Porto San
Differential Diagnosis
Coffee County Tag Office Douglas Ga
Breaking down the Stafford trade
Server Jobs Near
Image Mate Orange County
What Is The Gcf Of 44J5K4 And 121J2K6
Coors Field Seats In The Shade
Latest Posts
Article information

Author: Msgr. Benton Quitzon

Last Updated:

Views: 6469

Rating: 4.2 / 5 (63 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Msgr. Benton Quitzon

Birthday: 2001-08-13

Address: 96487 Kris Cliff, Teresiafurt, WI 95201

Phone: +9418513585781

Job: Senior Designer

Hobby: Calligraphy, Rowing, Vacation, Geocaching, Web surfing, Electronics, Electronics

Introduction: My name is Msgr. Benton Quitzon, I am a comfortable, charming, thankful, happy, adventurous, handsome, precious person who loves writing and wants to share my knowledge and understanding with you.