Okta

Looking for Okta Logos?

You can find all the media assets you need as part of our press room.

Download Media Assets

Explore Using JWTs for CSRF and Microservices

Motorcycle Fun Fact: Did you know that if you want to negotiate a right curve on a motorcycle, you start by nudging the handlebars to the left? This is called countersteering. The initial push to the left causes the motorcycle to lean to the right.

Last year, Micah Silverman embarked upon a Java Roadstorm on behalf of Stormpath. He toured a solid chunk of the eastern seaboard of the US on his motorcycle, visiting local Java user groups and talking about how to use JWTs to secure customer identity via two code examples: CSRF and microservices. You can check out his online travel log and read more about his journey, or you can watch the talk (below) which he recently presented at CactusCon on behalf of Okta.

In the first code example, Micah shares how he replaces the standard Spring Security CSRF (cross site request forgery) token mitigation with a JWT version. The second is a basic microservices example that demonstrates how to establish trust between two microservices using JWTs.

 

 

Lindsay Brunner is a Content Marketing Manager at Okta responsible for our developer blog, as well as the vision and strategy for communications around our API products. Prior to Okta Lindsay led content marketing at Stormpath, and has nearly a decade of experience building great content for various brands.
 
Lindsay also enjoys reading, video games, archery, and spending time with her husband, cats, and dog!