Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I have a similar question, which was poorly written by me and so now I put the question in a clearer way hopefully: I have generated a project using Jhipster and Keycloak (follow this tutorial: https://developer.okta.com/blog/2018/06/25/react-spring-boot-photo-gallery-pwa). It works fine until I want to turn on https. So say in the keycloak admin panel, I choose 'all request need https'. And then when I login, I get an error page saying "https required".

My question is, what exactly should I do to make https works now? Since keycloak is 'embedded' in jhipster, so I pretty much only have keycloak.yml, application.yml and a few configuration files I can play with. Anyone got into the same or similar issue before? Any help will be appreciated. Thanks!

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
179 views
Welcome To Ask or Share your Answers For Others

1 Answer

Not sure why my post is down voted. I asked a similar question, but that one was poorly written and cannot let the reader get what the question is precisely. So I write this question in a more clear way as I think. And this is a good question in my opinions, because Jhipster uses Keycloak, but most tutorials now only talk about how to get the project http, not https. And Keycloak tutorial about https only applies if you installs and maintains a standalone Keycloak server, not like Jhipter which has the bin of Keycloak and only allows us to play with the keycloak.yml. And if we can figure out how to do https on this one, it will help others who are also using Jhipster and applying Keycloak.

I cann't think of any reason that may down vote this post. If there is, please let me know and I can learn.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...