-
-
Notifications
You must be signed in to change notification settings - Fork 597
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
[feature]: Creating Sample Java Application using JWT Token #2016
Comments
Can I take this up @Swpn0neel ?? |
Go ahead @Adity20 !! |
@Adity20 i would like to collaborate with you for this. |
Hi @Adity20 @amitpanwar789 i would like to collab on this. I already have a template project in java. If both of you agree, I can create the boilerplate code and we can collab on it? Lmk what you guys suggest. |
Sure go ahead and share the link of your forked repo |
Sure we three can collab |
Have sent invite to both of you. Here is the repo https://github.com/jaiakash/samples-java |
great, how should we divide the work then ? i guess we can like take username and password (maybe or maybe not) from user then generate jwt and then like try to validate jwt and then keploy integration testcase generation ... |
Chat among yourselves about how you want to divide the tasks |
Thats what I was thinking too, so we can divide the work into
Lmk what you guys have any suggestions, we can discuss and finalise it. For how I have created the repo. |
@jaiakash do we need to create user and store it in db, i think we can just take email and password store it as map or anything generate token and then on next request validate it |
@amitpanwar789 That also works since we are only doing the network testing. So which feature are you taking? |
Ok I will first work on api to get username and password and generate jwt and validation we both can work on. |
@jaiakash i have made a pr for restapi have a look |
@amitpanwar789 where did you make PR? |
@jaiakash ohh sorry i directly push to your fork by creating a separate branch |
You can send PR to my fork. |
@amitpanwar789 That branch i have merged to main, now we can start working on next issue. Check this - https://github.com/users/jaiakash/projects/3 |
ok i will add jwt token generation and validation |
Hi @amitpanwar789 did you complete the jwt token generation and validation code? |
sorry for being late, i have wrote some code using io.jsonwebtoken, but find some version clashes i guess . |
i guess there is problem with security configuration , i am not familiar with springboot , can you add the configuration for the endpoints. |
Sure, push the commit to your branch. I will commit on your branch itself. |
@jaiakash have a look to new pr , jwt token generation and validation is working now. |
Thanks a lot @amitpanwar789. Have completed the code and made the PR with appropriate docs. Do check it out and edit the docs if any changes. cc @Swpn0neel |
@amitpanwar789 Can you check the docs of the sample I have added? Do add if think anything can be improved. |
Is there an existing feature request for this?
Summary
Why should this be worked on?
No other sample apps using Java and JWT Token
Repository
samples-java
The text was updated successfully, but these errors were encountered: