#39 Spring Security | Google and Github Login using OAuth2
ฝัง
- เผยแพร่เมื่อ 7 ก.พ. 2025
- Check out our courses:
Java Full Stack and Spring AI - go.telusko.com...
Coupon: TELUSKO10 (10% Discount)
DevOps with AWS: From Basics to Mastery : go.telusko.com...
Coupon: TELUSKO10 (10% Discount)
Master Java Spring Development : go.telusko.com...
Coupon: TELUSKO20 (20% Discount)
For More Queries WhatsApp or Call on : +919008963671
Udemy Courses:
Spring: go.telusko.com...
Java:- go.telusko.com...
Java Spring:- go.telusko.com...
Java For Programmers:- go.telusko.com...
Python : go.telusko.com...
Git : go.telusko.com...
Docker : go.telusko.com...
One of the best playlist on the internet to learn about Spring and more, thanks for sharing !
A great playlist that allowed something to be remembered and something to be learned new. It's really great to be able to look at the same tasks from different angles. You are a great teacher. Thank you for the lessons and positive mood.
You don't teach, you educate! 👍
I have found this playlist to be extremely valuable and educational. I would like to request that you continue this series, as your videos have been incredibly helpful. We are eager to see more content and would prefer to see this project continue. Please keep up the excellent work, we are fully supportive of your efforts. We are very eagerly waiting for the next video sir @Telusko
Hey is this course completed?
Such a great tutorial. Very thankful for this one. Thought of learning Spring Framework for a very long time but couldn't do it. Finally with the help of Telusko, able to complete it. Thank you sir for this. I really appreciate your content.
Really, you don't teach but educate!!!! Kudos to Naveen.
Fantastic series, Navin. Well explained and at a reasonable pace even for a veteran developer. Looking forward to the next video. I'll be sure to check out your other content.
waiting for the next video. Please continue this series.
The whole series help me a lot. Thank you for this amazing series of spring and spring security
Please continue the series @telusko
Really very useful series with greatlecture and hands on practice,Thank you very much sir
Excellent content. Please continue the series.
So helpful and good explanation with real world examples as well. please continue and thank you very much.
That was super easy, definitely likely and saving this video.
good series sir , waiting for next video
Continue the series sir ! Please ❤
Very easy to understand. Thanks @Telusko
Waiting for next video
Please continue
Thank you❤
very easy to understand your tutorial
great series!! keep them coming!!🙂
amazing and next level content thank you sirji ❤
please continue the series sir....!
Please continue this series @Telusko sir.
This awesome sir!!!!!. This video was help me lot.
You can kill the process running on the port.
Run: lsof -i :8080
Run: kill -9
guru ji you are great
Awesome Video sir
12:33 Navin Sir, we can use incognito / private window to see the google login form
Telusko bhai
my sde Life saviour
Thank you, have a nice day
Awesome series
This is great series. Could you please add how to handle refresh token of JWT with front end. This will be so helpful and add more value to jwt explanation of your videos.
awesome ❤
Please continue the series sir
amazing content
Sir, how can I retrieve the email, mobile number, and name from Google when a user logs into an account using Google?
Update:
You can use Principal object to retrieve logged in user info.
import java.security.Principal;
import org.springframework.security.oauth2.client.authentication.OAuth2AuthenticationToken;
@GetMapping("/foo")
public String fooHandler(final Principal principal) {
if (principal instanceof OAuth2AuthenticationToken user) {
LOGGER.info("LOGGED in user: {}", user);
}
return "Login Successful";
}
@@akgarg0472 Getting null principals when I do it this way. Any idea why this happens?
Thank you for this playlist
Pls continue the series
Can you make a video to build a react web application using Spring Security JWT
does that one client-id and secret enough for application , or we need different id's and secrets for different users
Thank you so much sir
🔥🔥
@telusko sir please create video on create our own oauth2 server
Can we get next video with adding exception handling when calling api's
Sir please continue java development series hindi channel
Which type of consent to be chosen? Is that Internal or External? Do any of these google cloud console services are paid / free for learning? Please confirm.
from lsof -i:8080 command you will get the process id and after getting the process id you will have to kill the process by kill -9 {process id}
Sir please continue to make javascript video
good!!
Can you please make a video on own OAuth2Resource server as well.
is this series enough for spring boot?
Sir can you make an video about how to connect keycloak with spring boot like when user registered I want to add user in both backend and keycloak server?
if we want to do basic get request for public and secure controller using postman of oauth2.0 authentication
Is this last video of this playlist?
if i am using ouath2 then do i need to use spring security dependency for the project or ouath2 included spring security too?
When you're using OAuth2 in your Spring-based application, we still need Spring Security coz' OAuth2 support is integrated within Spring Security.
Spring Security is the core framework that provides OAuth2 functionality in Spring-based applications.
it's so easy
Hello sir
Very. Helpful but how to create client id and client secret for dev , qa , stating , prod ❤❤
Can you show us how to replace the jsession id used by default in this with jwt token?
How can I configure Google login for rest APIs where we use a bearer token for authentication
i have one question
till now we only used 1 sql DB in application
what if there are multiple DBs
How wll JPA know for which DB, we have to create which table
I have already implemented JWT authentication in my spring security. But, now I need to implement OAuth 2 google with JWT authentication where user can able to login or create using JWT or sign in with google. So, how can I make that ? Still searching for the solution ...!!
include repo links in this type of demo videos
You can kill the port. simple code in terminal
I am a MERN stack developer and my programming language was C++. But the company i joined uses java as the primary language and their frameworks such as Spring etc. So, I learnt java (basic) concepts from Telusko. Now, i have to learn spring boot. So can anyone suggest me the good way of starting Spring and all?
Start from the beginning of the older playlist, not this one, the playlist has spring and spring boot from the beginning and then learn security from this playlist
Sir, I have tried for linkedin also but when I go for localhost and try to login with linkedin it allows me to enter my linkedin email and password, after pressing the allow button it shows "[invalid_request] A required parameter "client_secret" is missing" this error
can you please help me in that
I have checked several times that the client-id and client-secret is correct and as per my Linkedin Auth Application credentials
how to run a webapp protected by oauth2 via postman. Struggling to fetch keys after using this same method. can someone help
Is it not insecure to hardcode the client secret in the source code, rather keep it in a property file ? Do I have to encrypt the client secret even on the property file ?
Worst Tutorial as always!!
Don't waster your time..
The interviewer himself look clueless on how these things work exactly.
I don't agree with you. His videos are the best.
Please continue the series @telusko
Waiting for next video in the series, please continue sir