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
Beginner's Guide to Investing in Foreign Currency
What To Do With Your Tax Refund (And Things To Avoid)
Napa Autocare Locator
Www.politicser.com Pepperboy News
Phone Number For Walmart Automotive Department
Comforting Nectar Bee Swarm
Sportsman Warehouse Cda
Beds From Rent-A-Center
Crime Scene Photos West Memphis Three
Dark Souls 2 Soft Cap
Seth Juszkiewicz Obituary
Aita Autism
Craigslist Cars Nwi
6th gen chevy camaro forumCamaro ZL1 Z28 SS LT Camaro forums, news, blog, reviews, wallpapers, pricing – Camaro5.com
The Shoppes At Zion Directory
Restaurants Near Paramount Theater Cedar Rapids
Swedestats
Caledonia - a simple love song to Scotland
EASYfelt Plafondeiland
Winco Employee Handbook 2022
Ac-15 Gungeon
Chime Ssi Payment 2023
Turbo Tenant Renter Login
Cb2 South Coast Plaza
At 25 Years, Understanding The Longevity Of Craigslist
Panolian Batesville Ms Obituaries 2022
No Limit Telegram Channel
208000 Yen To Usd
Table To Formula Calculator
Anesthesia Simstat Answers
Weather Underground Durham
Craigslist Sf Garage Sales
Grand Teton Pellet Stove Control Board
Ixl Lausd Northwest
Amici Pizza Los Alamitos
Louisville Volleyball Team Leaks
Reborn Rich Ep 12 Eng Sub
Dr Adj Redist Cadv Prin Amex Charge
The Thing About ‘Dateline’
Silive Obituary
התחבר/י או הירשם/הירשמי כדי לראות.
Exam With A Social Studies Section Crossword
Rocket Lab hiring Integration & Test Engineer I/II in Long Beach, CA | LinkedIn
Aznchikz
Used Auto Parts in Houston 77013 | LKQ Pick Your Part
15:30 Est
Rocket Bot Royale Unblocked Games 66
Coleman Funeral Home Olive Branch Ms Obituaries
Nfsd Web Portal
Buildapc Deals
라이키 유출
Lorcin 380 10 Round Clip
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.