Skip to content
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

Closed
wants to merge 23 commits into from
Closed

Conversation

mraible
Copy link
Contributor

@mraible mraible commented Sep 8, 2023

This blog post has the following features:

  • A GitHub Repository with a polished README
  • A GitHub Repository under the github.com/oktadev account
  • A title that's approved by Dev Advocacy
  • A URL approved by Dev Advocacy
  • The content has been run through Grammarly (https://www.grammarly.com/)
  • Rendered locally and confirmed that no Markdown typos exist
  • Images are compressed appropriately
  • Social image previews well on Twitter and LinkedIn
  • Tech review request (developer advocate or domain expert)
  • Review request for editorial/grammar/clarity (developer advocate or Colton)

@netlify
Copy link

netlify bot commented Sep 8, 2023

Deploy Preview for okta-blog ready!

Name Link
🔨 Latest commit 2e8534c
🔍 Latest deploy log https://app.netlify.com/sites/okta-blog/deploys/651748b63e5d330007bab015
😎 Deploy Preview https://deploy-preview-1449--okta-blog.netlify.app/blog/2023/09/15/java-spring-boot-microservices
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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).
Copy link
Contributor Author

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

@mraible mraible marked this pull request as ready for review September 19, 2023 16:11
@mraible mraible requested a review from deepu105 September 24, 2023 18:25
Copy link
Contributor

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?

Copy link
Contributor Author

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 \
Copy link
Contributor

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

Copy link
Contributor Author

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!

@mraible
Copy link
Contributor Author

mraible commented Oct 6, 2023

@mraible mraible closed this Oct 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants