Client Credentials: Securing APIs with Tyk

preview_player
Показать описание
In this third video of the "OAuth2.0 with Tyk" mini series, we successfully protect our API endpoint using the Client Credentials grant type. If you missed the video before, click the link at the bottom of the description to watch it and better help with understanding the concepts in this video.

00:00 Intro
01:03 Configuring API with Tyk
01:52 Authentication with Tyk
02:56 Creating a Policy & Client
02:53 Access Token Request
05:05 Generating API Request Header
05:45 Making API Request for Access Key
07:55 Using Access Key to Access API

-----------
-----------
Follow us
Рекомендации по теме
Комментарии
Автор

Hi

Thanks for this explanation. Please clarify the below query

Is it possible to have multiple access token for same client id and secret key and keep all of them valid throughout expiration time.

In other words, can we control the Token Life cycle

sp.karthick
Автор

Very clear explanation; thanks. However it seems a bit of overkill to provide both the base64 encoded client id and secret in the header and then the actual clear text values in the body. When accessing MSGraph for example, I can get the token by just defining the client id and secret in the body.

MrAndrewpindar
visit shbcf.ru