Oauth2.0 : Spring Security | With Google Example | Java | Spring Boot | Oauth2.0 Implementation

preview_player
Показать описание
Hello everyone , hope that you all are doing well ?

In this video we will discuss how you can apply Oauth2.0 in your projects and Authorize your application User Using Google . A Simple and a brief example covered in this video.

Hope that you people like the video , it takes a lot of efforts to Oversimplify the Topics and represent on the video . Hoping that my Channel gets your support .

Like , share and comment .

Would love to read your Comments and answer back .

Do Support the channel by Hitting the SUBSCRIBE Button .

Thank You . Happy Learning .
Рекомендации по теме
Комментарии
Автор

Please explain the dependencies better in future it might be helpful for users just blindly following the tutorial. Thanks for the video

abhisheknarwal
Автор

Hi Ramanpreet,
I need tutorial or link for implement SpringSecurityConfig class without extends the WebSecurityConfigureAdapter.

mageshwaran
Автор

Description:

Method filterChain in required a bean of type that could not be found.


Action:

Consider defining a bean of type in your configuration.

why this error ...please help me

AmirAlam-bv
Автор

1. Voice quality needs to be improved.
2.

GauravKawatrakir
Автор

Can you please explain how to do this witch twitch?

donpilo
Автор

After providing google credentials ir is giving me 404 error please help

SR_INFORMERS
Автор

can you explain that Authorized Redirect URIs hoe you provide i didn't get please explain how u make this uris

raazsuraj
Автор

Hi Ramanpreet,
great explanation, I am adding oauth in addition to jwt based authenticator, currently I am being redirected for every authenticated url to google sign in, on postman however I am getting expected 401, could let me know should I need to change something here

public SecurityFilterChain filterChain(HttpSecurity http) throws Exception{

http
.csrf(csrf -> csrf.disable())
.authorizeHttpRequests(auth -> {




auth.requestMatchers("/user/**").hasAnyRole("ADMIN", "USER");

});
http
.oauth2Login(oauth2 -> oauth2
.loginPage("/oauth/google") // Set the login page URL for custom login page (if you have one)
);

http.oauth2ResourceServer()
.jwt()

http.sessionManagement(
session ->
);

return http.build();

KuldipGhotane
welcome to shbcf.ru