FAQ Database Discussion Community


Keycloak Unknown Provider error

javascript,angularjs,bower,keycloak
I'm using Keycloak.js for interaction with Keycloak and getting below error Uncaught Error: [$injector:unpr] Unknown provider: AuthProvider <- Auth <- authInterceptor <- $http <- $templateRequest <- $compile With below code: module.factory('authInterceptor', ['$q', 'Auth', function($q, Auth) { return { request: function (config) { var deferred = $q.defer(); if (Auth.authz.token) { Auth.authz.updateToken(5).success(function()...

What are Keycloak's OAuth2 / OpenID Connect endpoints?

keycloak
We are trying to evaluate Keycloak as an SSO solution, and it looks good in many respects, but the documentation is painfully lacking in the basics. For a given Keycloak installation on http://localhost:8080/ for realm test, what are the OAuth2 Authorization Endpoint, OAuth2 Token Endpoint and OpenID Connect UserInfo Endpoint...

Keycloak logging with log4j to use custom rolling appender

logging,log4j,wildfly,keycloak
I'm trying to use Log4J for keycloak project as logging framework since there are custom rolling appenders we have written with few value additions. I was referring to changing logging subsystem in wildfly (keycloak embbeded server - keycloak/standalone/configuration/standalone.xml ), but seems like I'm missing something. How can I add a...

Generate keycloak user setting page URL

java-ee,wildfly,keycloak
I know the user setting page is: https://DOMAIN:PORT/auth/realms/REALM/account/?referrer=APPLICATION Is there anyway to generate this URL on a servlet without hard-coding server DOMAIN and the other parameters (Getting these parameters from keycloak.json or from application server by any provided API)?...

Wildfly 8 Unexpected element '{urn:jboss:domain:web:1.1}subsystem'

java,jboss,wildfly,wildfly-8,keycloak
I'm getting below error when I start Keycloak service: 0:09:08,028 INFO [org.jboss.modules] (main) JBoss Modules version 1.3.3.Final 00:09:08,268 INFO [org.jboss.msc] (main) JBoss MSC version 1.2.2.Final 00:09:08,348 INFO [org.jboss.as] (MSC service thread 1-6) JBAS015899: WildFly 8.1.0.Final "Kenny" starting 00:09:08,985 ERROR [org.jboss.as.server] (Controller Boot Thread) JBAS015956: Caught exception during boot: org.jboss.as.controller.persistence.ConfigurationPersistenceException: JBAS014676:...