Sorry if this the wrong place to create this. However I have created a Kotlin app with JWT authentication Quarkus JWT kotlin sample .Some of the features are:
spring-security-crypto.JWT token.JWT.Would like you to add this to the guides under JWT Security. Also I think it will be useful in this google group discussion: JHipster and Quarkus
Hi @zulq, thanks, it looks interesting.
FYI, over here, you can use java.util.Map to avoid dealing with Jose4J directly (few claims like jit, iat, exp will be added by default too), and you can use a no-arg sign() and drop all the code which loads the key since you have a property pointing to it.
It can make it to quarkus-quickstartsfor a start, Guillaume, @gsmet, are you OK with it ?
@sberyozkin, thanks for the feedback, changes implemented as recommended.
Hi @zulq Thanks. I think it is definitely a quarkus-quickstart issue. I'm not sure another doc is required but having one more JWT example would be useful, can you please close this issue, open a new Quickstart one with a PR and CC to @gsmet, myself ? And @geoand and @gastaldi who are Kotlin gurus :-).
We can then update the forum with a link to your quickstart
I'm not really a Kotlin guru (in fact I don't use Kotlin at all :) ), but I'm happy to help when possible ;)
I'm not an expert, but I could try and take a look in a few days
@gastaldi @geoand thanks, @zulq has already implemented the project, so just an extra PR check when it is open will be of help, cheers
@sberyozkin, closing as requested. Please bear with me sometime to create a PR or should it suffice only to create an issue on the quick-starts with a link to the project? More of a TFS guy lol.
@sberyozkin, getting permission error:
15:32 Can't Create Pull Request
Push failed:
remote: Permission to quarkusio/quarkus-quickstarts.git denied to zulq.
unable to access 'https://github.com/quarkusio/quarkus-quickstarts.git/': The requested URL returned error: 403
@zulq you need to push to your fork and then create a PR
If you're using hub from https://hub.github.com, do:
hub forkgit push zulq your-branchGetting push to origin/development was rejected. On Windows using intellij. Do I need to Force Push?
Getting
push to origin/development was rejected. On Windows using intellij. Do I need toForce Push?
You need to your fork, not Quarkus. What does
git remote -v
look like?
Here:
origin https://github.com/zulq/quarkus-quickstarts.git (fetch)
origin https://github.com/zulq/quarkus-quickstarts.git (push)
That looks good, so you should be able to push to it. Depending on what the state of your branches are, you indeed might need to force push
Push successful and created a PR as well.