How to Use Client Credentials Flow with Spring Security

preview_player
Показать описание
Learn how to use OAuth 2.0's client credentials grant to communicate between apps secured by Spring Security.

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.

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

I don't want to use Okta I want custom Authrization Server, Could you pleae guide me how can I achieved this with Client credentials b/w two services ?

azharmobeen
Автор

Is there an example with username and password flow as well with rest template?

HarshaVardhan-jfsd
Автор

Hi, i *think* this is what i am wanting, but unsure. I need to build a PowerShell service application, to connect and talk to Okta APIs, such as /api/v1/users, and it will run as a service, no user interaction?

I can do this using MS Graph APIs no problem using client credentials, but i cannot get client_credentials auth flow to work with Okta.

adrwh
Автор

nice video tks, i wanna just know how did u make the shortcut for creating a controller?

azedinelamaouaj
Автор

How to authorize without client secret...like private jwt key in spring boot with okta oauth2

thirumuruganm
Автор

Any plans to update to Spring Boot 3.0 & Spring Security 6.0?

idouxda
Автор

Brother, can i use client credentials for my application (react application) api gateway authorisation? currently this application use saml sso (external application) for authentication, and no authorisation validation at api gateway at all.. i want to mix, is it possible? What u thought?

ChandraChandra-ernf