Spring Boot+ OAuth 2 Client Credentials Grant Simple Example

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

I want to fetch the response using body/headers without using basic Auth

chandrakanth
Автор

Thanks for the tutorial !! :) You helped me solve one bug in my code Thanks !!

vaqasazeem
Автор

I want to secure all the REST endpoints in my application using OAuth2 with grant type as Client Credentials. Please help me

rpstudio
Автор

It's not working when using Zuul proxy over it. I'm always getting "Unauthorized" with zuul URL, however it's working fine with actual URL. Can you please help with zuul implementation?

ravikantvicky
Автор

Hi, Can we implement user role based authentication with this method?

RidmaGamage-pfsn
Автор

Hi Sir, I even downloaded the code from your website and the same error occurs, did something change in the libraries ? thanks

diegoramos
Автор

I tried exactly same, but getting below error, any pointers?
{
"error": "unauthorized",
"error_description": "Full authentication is required to access this resource"
}

sowjivenkatd
Автор

Hi, thanks for the video.But the Spring Boot version used by you in outdated .If we use the Spring Boot 2.0 version, then many things don't work.Could you please provide the updated details with Spring Boot 2.x .

amritraj
Автор

How can we implement resource and authorization server config in a single project?

AKHILREDDY
Автор

Could you please share the code for creating client instead of Postman. I have tried to create it but getting error.

rabinarayansabat
Автор

why if i updgrade to spring boot 2 in authorization project
dont detect AuthenticationManager

gustavotorresmartinez
Автор

Hi, Its working sucessfully but when i integrate react cors error accuring. How it solved?

sarathkumarm
Автор

Could you please share the client code for this part instead of using Postman. I tried by submitting the auth token call from my form submit but could not pass the basic auth in header but it's directly showing the token JSON on my screen. Please share client code as it will be very very helpful.🙏

mitalijena
Автор

Hi Sir I am getting below error while calling the resource:

{
"error": "invalid_token",
"error_description": "Invalid access token:
}

The userinfouri is saying could not fetch user details: 403 forbidden.

Any help would be appreciated. thanks

diegoramos
Автор

Hi Sir I am still getting: Could not fetch user details: class org.springframework.web.client.HttpClientErrorException, 403 Forbidden, please advice

diegoramos