-
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
Jakartaee auth0 #1332
Jakartaee auth0 #1332
Conversation
✅ Deploy Preview for okta-blog ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
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.
Nice work, @moksamedia! I added some comments and suggestions. I'll QA next week.
Co-authored-by: Matt Raible <[email protected]>
Co-authored-by: Matt Raible <[email protected]>
Co-authored-by: Matt Raible <[email protected]>
Co-authored-by: Matt Raible <[email protected]>
Co-authored-by: Matt Raible <[email protected]>
Co-authored-by: Matt Raible <[email protected]>
Co-authored-by: Matt Raible <[email protected]>
Co-authored-by: Matt Raible <[email protected]>
Co-authored-by: Matt Raible <[email protected]>
Co-authored-by: Matt Raible <[email protected]>
|
||
You can check out [the docs for Jakarta EE 10 Security 3.0 OIDC here](https://jakarta.ee/specifications/security/3.0/jakarta-security-spec-3.0.html#openid-connect-annotation). | ||
|
||
## Prerequisites |
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.
I decided to make this a heading because there's a lot of intro before you get to this section. I could also see rolling it into the next section.
- [Mobile Development with Ionic, React Native, and JHipster](/blog/2020/04/27/mobile-development-ionic-react-native-jhipster) | ||
- [Fast Java Made Easy with Quarkus and JHipster](/blog/2021/03/08/jhipster-quarkus-oidc) | ||
- [Build a CRUD App with Vue.js, Spring Boot, and Kotlin](/blog/2020/06/26/spring-boot-vue-kotlin) | ||
- [Add OpenID Connect to Angular Apps Quickly](/blog/2022/02/11/angular-auth0-quickly) |
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: Update this list to use more recent posts.
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.
@dan-auth0 Do you have a list of popular/related Java blog posts we should add here in the CTA (call to action)?
@@ -0,0 +1,497 @@ | |||
--- | |||
layout: blog_post | |||
title: "Use Jakarta EE 10 with OpenID Connect Authentication" |
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.
This scores a 57 on our title analyzer.
Other options:
- Use Jakarta EE 10 with OIDC Authentication: 58
- Jakarta EE 10 with OpenID Connect Authentication: 59
- Get Started with Jakarta EE 10 and OpenID Connect Authentication: 55
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.
Keyword traffic:
- jakarta ee: 9900
- jakarta security: 170
- jakarta ee 10: 8080
To me, it seems we should optimize for "Jakarta EE" and "Jakarta EE 10" in the title and first few headings.
@moksamedia I QA'd this one today and created a PR to update the example. I'm not sure if I'm configuring the issuer correctly. Here's what I have: issuerUri=https://dev-06bzs1cu.us.auth0.com Does it need a trailing slash? The only other thing I thought is it'd be nice if the user could have success earlier. For example, right after you configure the action, they could run Or maybe you can't just log in? I just tried firing up the app and going to http://localhost:8080. It just says "Forbidden" in my browser and there's a warning in my logs.
If I try http://localhost:8080/protected, it gives me a stack trace that starts with:
Maybe renaming from OpenId (in Java and properties) to Oidc is not allowed? |
Published on the Auth0 blog: https://auth0.com/blog/jakarta-ee-oidc/ Closing this PR since @coltonbeach and I talked and decided Auth0-only content should only be on the Auth0 blog. |
This blog post has the following features: