Very good explanation. anyway, in current version of spring boot which is 3.2.4, it is required to add grant_type on the form-data, and the authorization type Basic Auth(client id and password), no need to add the detail on the query params,
Nice explanation. Is there any possibility to send request for refresh token with new expiry from client. Actually we are using oauth2 and inmemory store. Pls share your ideas. Thanks!
@@trinadhi606 No, but a different solution where i use thymeleaf not spring defaults (Customizer). Though there is a need to handle the grants that are being requested on the display.
When I am hitting url auth2/authorize using all necessary param getting Whitelabel Error Page This application has no explicit mapping for /error, so you are seeing this as a fallback. Fri Sep 29 12:25:43 IST 2023 There was an unexpected error (type=Not Found, status=404). Any solution for this
Share the source code and explain the each steps... If we use same code which you explained, it wont work. After spending 2-3 days I have identified the access denied issue.
u didn't explain the configuration which u said you will do later (BUT YOU ended the course early) it SEEMS you have memorised the whole thing. its a good effort but you shouldn't waste people time with low grade copy paste code explanation. I am giving you a 0 ZERO star and a disk like.
Very good explanation.
anyway, in current version of spring boot which is 3.2.4, it is required to add grant_type on the form-data, and the authorization type Basic Auth(client id and password), no need to add the detail on the query params,
@ajimulyadi8064 your solution worked. Thanks a lot..
THANKSS , LOVELY THANKSS BRO , THANKSS
Nice explanation
Great tutorial. What changes do I need to make to use of the jdbc user when using RegisteredClientRepository?
For openid flow, in /token endpoint data should be passed in the body
for client credential flow, when we send a Postman POST request, it asks for sign-in. but it directly gave you an access token. how?
Hey, I am facing the same problem. Did you find a solution for this?
@@awkward.aman.sharma nope
That's sad :( so are you using any other method for authentication, or followed any other tutorial?
you re using the wrong url it should be oauth/token not oauth/authrize
Please Provide JDBC implementation of RegisteredClientRepository with full Explanation.
10 subscriber from my side when you're done .
I am facing client authentication failed request invalid error
can you please explain JDBC implementation of RegisteredClientRepository.
Nice! Waiting for part 2 :))
Nice explanation. Is there any possibility to send request for refresh token with new expiry from client. Actually we are using oauth2 and inmemory store. Pls share your ideas. Thanks!
I tried, but the token endpoint always return login html
hi, I am facing same issue, did you resolved this issue, if yes please help me how to do resolve
@@trinadhi606 No, but a different solution where i use thymeleaf not spring defaults (Customizer). Though there is a need to handle the grants that are being requested on the display.
Man you just saved my day 🫶. Thanks a lot💛. Keep Rocking 💫
Can u give a demo of integrating this with front end too
Awesome 👌🏻, this video saves me 😢👏🏻🤝🏻
I am facing problem configuring BCryptPasswordEncoder. Can you please show how to use real users and real password encoder?
output is getting in the HTML format.
When I am hitting url auth2/authorize using all necessary param getting Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Fri Sep 29 12:25:43 IST 2023
There was an unexpected error (type=Not Found, status=404).
Any solution for this
Have you found a solution to this problem?
Please help, I've cross checked I've done exactly like you but still getting this error in postman{
"error": "invalid_request"
}
Same issue for me some one help me please
Im getting 401 while passing all correct input to /oauth2/token . and it is also not receving in json . Please suggest any fix . Thanks in advance.
Most probably forgot the order on your resource filter chain to be 2. You need to hit the auth server filter chain first
{
"error": "invalid_client"
}
Someone help me to resolve this
I have added some commments and looks they are removed?
Its very sad to know, please try to post the same comments again, Thanks in advance:)
Explain the code u r writing when doing
where is the code ?
explain this code in github please !
Thank you
Could you please share the git repos link or spice code.? Thanks
Share the source code and explain the each steps... If we use same code which you explained, it wont work. After spending 2-3 days I have identified the access denied issue.
is it possible to connect with you i need help
please share the code
Please do with password granttype in this video
ty, but you dont need to say "right" everytime ..
u didn't explain the configuration which u said you will do later (BUT YOU ended the course early) it SEEMS you have memorised the whole thing. its a good effort but you shouldn't waste people time with low grade copy paste code explanation. I am giving you a 0 ZERO star and a disk like.
Plz stop the saying right right right bcoz I'm irritate but ur teaching is next level ❤❤
Thanks for the feedback :)
Source code please