I have created my project which required spring web socket using Jhipster with Token based authentication. Lately I found that Token based authentication does not work with spring web socket from here. How to change authentication type without recreating application from beginning?
Copy the .yo-rc.json
file from your project to a new directory, edit it to change the value of the authenticationType
property to "session" or "oauth2", and then run jhipster
, this will re-generate your app without asking the questions. You can then compare with your project and update it accordingly.
If you want to re-create your entities, you can copy the .jhipster
folder and re-generate your project using jhipster --with-entities
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With