keycloak

Webpage not available in Cordova Android app

坚强是说给别人听的谎言 提交于 2019-12-14 01:40:31
问题 EDIT: I have been progressing through this problem and retracing all of my steps. I am happy to reduce the size of this question and get more to the exact details if it is confusing. Currently I am at the point where it seems like Keycloak only intends to redirect me to https://, which should be a Wildfly server configuration issue, as far as I can tell. EDIT: I reduced my question, but this introduced confusion, so I rollbacked the question to what it was originally, the most relevant parts

Registration auto login disable

☆樱花仙子☆ 提交于 2019-12-13 23:28:56
问题 I am using keycloak 4.8.3 Final for my project. I need to disable auto login after the registration. I have been reading keycloak documentation for 5 days. Couldn't find the answer, i dont know if it's possible or not. Any guide will be useful for me. Thank you. 回答1: If you want to show the Keycloak login form again after the registration, you can setup as follows: Go to Authentication settings and select Registration flow. Click Copy button. Click Add execution button and select Username

403 Forbidden error, while access the ClientRepresentation in keycloack

随声附和 提交于 2019-12-13 20:05:14
问题 We use keycloak API in our application. When we try to retrieve the Client list of the realm it pass 403 forbidden error. Highly appreciate your comments for avoid this matter. String authServer = UriUtils.getOrigin(httpRequest.getRequestURL().toString()) + AUTH_CONTEXT_PATH; String token = httpRequest.getHeader("Authorization").replaceAll("Bearer ", ""); String realmClientsUrl = authServer+"/admin/realms/testrealm/clients/"+getClientRepresentationId(authServer,realm,token); ClientRequest

Jhipster registry “Status: (Unauthorized)” page after keycloak login

给你一囗甜甜゛ 提交于 2019-12-13 19:17:52
问题 Jhipster registry:v3.3.0 Keycloak: 4.5.0.Final (https enabled) There is a jhipster registry setup using docker-compose as shown in picture. Registry talks to Keycloak for authentication. We have two keycloak instances. When configured with one keycloak instance it successfully logins and opens the registry page. When configured with other keycloak instance it show the following page: After entering keycloak credentials, the url in the browser is http://localhost:8761/login?state=Swy20H

Oauth2 login fails for Spring boot application using Keycloak

十年热恋 提交于 2019-12-13 17:23:30
问题 I have a simple Spring boot application (generated using jhipster 5.7.2). No service discovery. Just a simple monolith. It is using Keycloak for auth. Here is the configuration I selected for my application: { "generator-jhipster": { "promptValues": { "packageName": "com.mycompany.myapp", "nativeLanguage": "en" }, "jhipsterVersion": "5.7.2", "applicationType": "monolith", "baseName": "test", "packageName": "com.mycompany.myapp", "packageFolder": "com/mycompany/myapp", "serverPort": "8080",

Can't access Administration Console page with keycloak behind Kong Ingress Controller

落爺英雄遲暮 提交于 2019-12-13 04:38:56
问题 I have Keycloak behind Kong Ingress Controller. I 'm able to see keycloak welcome page at my {url}/auth/. However, when I click at Administration Console I am redirected to {url}:8443/auth/admin/master/console/ When I click at Administration Console I should be redirect to {url}/auth/admin/master/console/ When I install keycloak (with helm) on minikube exposing the the service as a NodePort service without using ingress and load balancer I'm able to access Administration Console page. I have

Google Assistant account linking with Keycloak

荒凉一梦 提交于 2019-12-13 04:13:20
问题 I am building a Dialogflow agent and I am trying to have account linking with OAuth between my website and Google Assistant. And I am using Keycloak as my authentification server. Keycloak configuration Account Linking Result Then after I put the username and password Any Ideas why Google assistant does not sgin in? And is there a way to debug it? 来源: https://stackoverflow.com/questions/55693603/google-assistant-account-linking-with-keycloak

Keycloak stuck in loop after login

元气小坏坏 提交于 2019-12-13 03:56:48
问题 I have setup Keycloak as an IdP for SSO using SAML2.0. I have registered my client at Keycloak with the needed URLs: Master SAML Processing URL: http://localhost:8085/myapp/saml Althought it's not necessary when I have the master URL set: I have ACS URL POST Binding , Logout URL POST Binding both set to: http://localhost:8085/myapp/saml Root URL: http://localhost:8085/myapp When I try to access a protected resource i.e., a URL of the form http://localhost:8085/myapp/protected/ * , Keycloak

Angular 4 with KeyCloak stuck in login loop (Access Control)

与世无争的帅哥 提交于 2019-12-13 03:48:29
问题 I integrated KeyCloak to my Angular app. Once I run the app, I get redirected to the KeyCloak login. So far so good. If I enter wrong username / password, it will tell me that its wrong. Once I put in the correct credentials, it redirects me to my app but then It just keeps refreshing and refreshing. It seems that it's sending a login request every second. Here is what log gives me: I am sure that the problem is not in the logic of the code, but maybe in configuration. I googled the error and

keycloak redirect behind reverse proxy

你说的曾经没有我的故事 提交于 2019-12-13 03:00:01
问题 I am trying to get keycloak to run behind a kong ingress in kubernetes. The issue I am having is keycloak is adding a port it thinks it is on to the urls it is returning. request: auth.mydomain.com/auth response: auth.mydomain.com:8443/auth/admin/master/console/ client -> NLB:443 -> kong:8443 -> keycloak:8080 keycloak sees the requests x-forwarded-port: 8443 that kong sets and replies with a path on port 8443 Kong must be on 8443 now because of how it is launched in the container under the