How to Use Client Credentials Flow with Spring Security

Опубликовано: 18 Ноябрь 2021
на канале: OktaDev
14,634
151

Learn how to use OAuth 2.0's client credentials grant to communicate between apps secured by Spring Security.

Blog post: https://developer.okta.com/blog/2021/...
GitHub repo: https://github.com/oktadev/okta-sprin...
Demo script: https://github.com/oktadev/okta-sprin...

Table of Contents:

00:00 - Introductions
01:39 - Install Prerequisites
02:18 - Build a Secure OAuth 2.0 Resource Server with Spring Security
04:03 - Create an OIDC Application
04:35 - Test Your Secure Server
05:03 - Add a Custom Scope to Your Authorization Server
05:47 - Create a RestTemplate Command-Line Application
09:08 - Test Your RestTemplate CLI
09:37 - Create a WebClient-based Application
12:14 - Test Your WebClient CLI
13:32 - Thanks for watching!

#ClientCredentials #OAuth2 #SpringBoot
----
Okta is a developer API service that stores user accounts for your web apps, mobile apps, and APIs.

Sign up for Okta for free at https://developer.okta.com/signup
For more info visit us at https://developer.okta.com
Developer Blog: https://developer.okta.com/blog
Sample Apps on GitHub: https://github.com/oktadev
Follow us on Twitter:   / oktadev  
Follow us on FB:   / oktadevelopers  
Follow us on LinkedIn:   / oktadev