Securing REST APIs with JWTs and YouTube is adding paid courses!

Happy Monday friends and welcome to another edition of the newsletter. This week I have a new new content on securing REST endpoints in Spring Boot with JWTs, upcoming talks, VMware Explore and YouTube is adding paid courses. As always I included some of the best things I found on the web over the last couple of weeks.

Current Status

If youā€™re new around here I am a huge fan of Cleveland sports and for the first time since 2004, the Cleveland Browns are 1-0. Hard to believe that it's been that long since they won the first game of the year but also not that hard to consider if you pay attention to football šŸ¤¦ā€ā™‚ļø

My daughter starts pre-k school and this year she has moved up to the 4-year-old classroom. We were really excited to find out that she will be in the same class as 2 of her best friends which always makes it easier. Iā€™m excited for her because she loves to be around other kids and just like her dad she loves to learn.

I think I speak for all parents who work from home in saying I look forward to the house being a little bit calmer so I can get some work done. Next year the 2-year-old will be 3 and they will both be in school šŸ¤©

Bella Starts PreK

Spring Security & JSON Web Tokens (JWT)

If you perform a quick search on how to secure REST APIs in Spring Boot using JSON Web Tokens you will find a lot of the same results. These results contain a method that involves writing a custom filter chain and pulling in a 3rd party library for encoding and decoding JWTs.

After staring at these convoluted and confusing tutorials I said there has to be an easier way to do this. I did what anyone with direct access to the Spring Security team would do, I asked them for help. They informed me that indeed Spring Security has built-in support for JWTs using oAuth2 Resource Server.

You will find the video below but I also created a blog post for this content as a place you can always reference back to. This video has done better than any other video on my channel in the first three days of its release. Thank you again to everyone who continues to support my content, I truly appreciate it.

Upcoming Talks

  • Sept 22nd - Spring Recipes: A collection of common sense solutions In this session, you will learn about common situations you will encounter as a developer and how Spring can make the right thing to do the easy thing to do. Cutting through the cruft, you will leave armed with practical code examples you can use on your projects.
  • Oct 5th: Creating GraphQL APIs in Java I am giving a lunch and learn to over 100 developers for an awesome Fortune 500 company. In this talk I am going to introduce them to GraphQL and how they can start using it today in their Java / Spring applications.
  • Dec 6th - 8th: SpringOne Workshop In this workshop we are going to introduce you to Spring Boot. If youā€™re new to Spring and what to learn what types of applications you can build and how to get started this is the workshop for you. By the end of this session you will be able to build your first Spring Boot application.

If you would like me to speak at your conference, meetup group or company wide meeting please feel free to reach out to me.

VMware Explore

I work for VMware and our big conference, VMware Explore was a couple of weeks ago. First off I had some major FOMO as I saw all of the pictures and videos hitting Twitter. I hope I am able to make it next year and be a part of this amazing conference.

There were lots of exciting product announcements that came out of the conference but I was tuning in for one really exciting one. My good friend and coworker DaShaun Carter was on the main stage for the general session to help announce VMware Aria. It was so exciting to see DaShuan on the big stage where he belongs and he absolutely crushed it!

YouTube Courses?

YouTube is already the best platform for both producing and consuming educational content on the web. It currently isnā€™t a place where creators like myself can host paid content though. This might all be changing soon.

Right now I have a handful of paid courses on Udemy. While I havenā€™t created a new one in a while they are still doing pretty well on the platform. When you donā€™t have a huge audience you need a platform that can give you audience and that is what Udemy has done for me.

With that said I am huge fan of YouTube and the platform it gives me. I love putting free content on there and I am going on all in on YouTube. I first heard that YouTube might be offering paid courses through a tweet from Roberto Blake who is about as plugged into the YouTube community as anyone:

https://twitter.com/robertoblake/status/1568235062331670528

Next I saw a similar message from Robert Kyncl who is YouTube's Chief Business Officer. Coincidently the question Robert was answering was from Roberto as well.

Iā€™m really excited about this prospect and canā€™t wait to see this start rolling out. Does anyone know of any creators that already have paid courses on YouTube? What are your thoughts on this feature?

SpringOne

Our long-runningĀ SpringOne conferenceĀ is coming up December 6th to 8th, in San Francisco. There is going to be an amazing lineup of speakers and sessions and we are back in person. I will be giving a workshop on getting started with Spring Boot and hopefully a general session. You can get $200 off when registering if you use the code S1VM22_Advocate_200.

Around the Web

šŸ“ Articles

šŸŽ¬ Videos

šŸŽ™ Podcasts

šŸ’» Projects

šŸ“š Books

šŸ“° Newsletters

šŸ—£Ā Conferences

šŸ¦ Tweets

Navigating tech as a woman from the great Angie Jones

https://twitter.com/techgirl1908/status/1563289706195849218

Until Next Week

Thanks for sitting down and sharing a cup of coffee with me my friend. I hope you enjoyed this installment of the newsletter and I will see you in the next one. If you have any links you would like me to include please contact me and I might add them to a future newsletter. I hope you have a great week and as always friends...

Happy Coding
Dan Vega
danvega@gmail.com
https://www.danvega.dev