-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bootiful microservices with Spring Boot #1449
Conversation
✅ Deploy Preview for okta-blog ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
|
||
I hope you liked this tour of how to build Java microservice architectures with Spring Boot and Spring Cloud. You learned how to build everything with minimal code, then configure it to be secure with Spring Security, OAuth 2.0, and Auth0 by Okta. | ||
|
||
You can find all the code shown in this tutorial [on GitHub](https://github.com/oktadev/auth0-java-microservices-examples/tree/main/spring-boot-gateway-webflux). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: Add links to related posts, as well as these labs:
- Auth0 CLI lab (or maybe do it inline)
- Spring Boot AuthN and AuthZ labs
- Social, MFA, and passkeys labs for workshop
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
About step 4, how does the API Gateway know the JWT?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's returned from the authorization code flow when you log in to it.
I created all of these applications using [start.spring.io](https://start.spring.io)'s REST API and [HTTPie](https://httpie.org). | ||
|
||
```shell | ||
https start.spring.io/starter.zip bootVersion==3.1.4 \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bootVersion is not required IMO. I removed them in the workshop
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It isn't, but things might stop working with Spring Boot 3.2 because they sometimes break backward compatibility. I requested start.spring.io make things easier: https://github.com/spring-io/start.spring.io/issues/1303 I'd appreciate an upvote!
This blog post has the following features: