Creating OAuth2 Client Server using Spring OAuth2.0 Client Dependency

preview_player
Показать описание
In this video, we creates an OAuth2 Client Server using Spring OAuth2 Client dependency. We configure the Client Server to communicate to the OAuth2 Authorization Server by defining OAuth2 client and provider configuration. Also, we configure the Client Server to route the certain requests to the Resource Server and the Client Server acts as a Gateway Server as well. Refer the below useful links:

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

I am unable to connect to client app, I have implemented the same code provided in the video, but still face the below error when I enter username and password

"Login with OAuth 2.0

Login With Spring Provider"

Please help me with a solution.

RajeshR-ut
Автор

I have implemented Azure ad in spring cloud gateway as mentioned in this video, I'm able to authenticate and getting oauth2 code in browser inspect, but after authentication it is redirecting to too many times, not sure why it's happening, can you please help ?

rajkumarwinc
Автор

We have azure ad oauth2 registered in azure portal, i want to implement client gateway, resource server, my question is do we really need to create Authorization server separately as we already have axure ad credentials like clientid and client-secret etc..

Can we directly interact with azure ad from client gateway ?

rajkumarwinc
Автор

Getting 404 error while using through postman
{
"timestamp": "2023-07-26T10:52:27.769+00:00",
"status": 404,
"error": "Not Found",
"path": "/oauth2/authorize"
}
but in web browser it works fine

abdulrasak