I have created an application with JWT authentication. I want to integrate with OKTA. Just to gain knowledge I have created a sample application with oauth authentication and was able to successfully integrate with okta.
Now I would like to integrate the already application with JWT authentication with OKTA. Please suggest me how to integrate with okta
Thanks
You cannot integrate a JHipster app that uses JWT authentication with Okta. You have to use OAuth / OIDC as your authentication mechanism. One thing you could try is:
rm -rf
in your JWT app to delete all the files (this will delete everything, but keep your.yo-rc.json
file and.jhipster
directory)..yo-rc.json
to changeauthenticationType
tooauth2
.jhipster --with-entities
to re-create your application with OAuth 2.0 for login.Hope this helps!