jhipster

How to encrypt Jasypt.encryptor.pasword property while using in Jhipster registry App's configuration file

你说的曾经没有我的故事 提交于 2020-08-25 09:19:38
问题 I am using JHipster registry APP and used local encryption by using Jasypt library to encrypt username and password from a centralized configuration for all micro-services. While doing this I observed the moment I try to encrypt default username and password (admin/admin) ,encrypted as mentioned below in the central-config folder , I have configured gateway.yml ( central configuration file for all micro-services common configurations) spring: datasource: type: com.zaxxer.hikari

jhipster - gyp verb `which` failed Error: not found: python2

梦想的初衷 提交于 2020-07-09 06:44:45
问题 Below is the error that I get, when I try to generate a new project with JHipster: gyp verb check python checking for Python executable "python2" in the PATH gyp verb `which` failed Error: not found: python2 gyp verb check python checking for Python executable "python" in the PATH gyp verb `which` succeeded python C:\Program Files\Python36\python.EXE gyp verb check python version `C:\Program Files\Python36\python.EXE -c "import platform; print(platform.python_version());"` returned: "3.6.4\r

Jhipster OAuth 2.0 / OIDC Authentication Authorization header with bearer token

风流意气都作罢 提交于 2020-07-07 05:00:30
问题 I’ve used Jhipster to generate an app with the security option OAuth 2.0 / OIDC Authentication. I reconfigured said app to use Okta instead of keycloak following the instructions at http://www.jhipster.tech/security/#okta. All works as expected and the login flow performs as expected. I now want to use OAuth 2.0 access_tokens to access my api resources from additional clients (Postman, Wordpress). I’ve retrieved a valid token from Okta added it to my Postman get request for localhost:8080/api

Keep authentication between 2 applications with Keycloak SSO

|▌冷眼眸甩不掉的悲伤 提交于 2020-06-18 04:33:30
问题 I have 2 JHipster apps running each on one subdomain (app1.domain.tld & app2.domain.tld). In both apps, users login through Keycloak. The sequence is as such : Angular app sends /authenticate request with credentials to Keycloak In case of successful response returns a authentication cookie POST request is is sent to Jhipster backend app that generates JSessionID cookie JSessionID is then used for every request to backed app. What would be the best way to automatically login user (without

Keep authentication between 2 applications with Keycloak SSO

强颜欢笑 提交于 2020-06-18 04:32:05
问题 I have 2 JHipster apps running each on one subdomain (app1.domain.tld & app2.domain.tld). In both apps, users login through Keycloak. The sequence is as such : Angular app sends /authenticate request with credentials to Keycloak In case of successful response returns a authentication cookie POST request is is sent to Jhipster backend app that generates JSessionID cookie JSessionID is then used for every request to backed app. What would be the best way to automatically login user (without

Authentification of 2 APPs with the same Keycloak (SSO)

家住魔仙堡 提交于 2020-06-16 17:25:33
问题 I need your help for a special usecase, I searched on the internet but didn't found anything that would mach my case. I'm new to keycloak so it may be something easy to do but I failed to resolve it : I have two apps with spring boot security which are connected to the same keycloack. Front-end of both was generated by JHIPSTER. Let's call them app1 and app2. 1st case : I'm connected to app1 and app2 from the same browser, it works well, I can request app1 from app2. 2nd case : I'm connected