Coder Social home page Coder Social logo

Can't login as an admin "Unexpected error when handling authentication request to identity provider." / "Unable to acquire JDBC Connection" about keycloak HOT 6 CLOSED

DanielKucal avatar DanielKucal commented on June 2, 2024
Can't login as an admin "Unexpected error when handling authentication request to identity provider." / "Unable to acquire JDBC Connection"

from keycloak.

Comments (6)

ssilvert avatar ssilvert commented on June 2, 2024

@DanielKucal So you were adding a User Profile attribute that has the same name as a realm attribute? Which name?

Since this is a server-side error, I'm going to switch this to the core team.

from keycloak.

pedroigor avatar pedroigor commented on June 2, 2024

@DanielKucal I'm a bit confused about the steps to reproduce the issue. That error you are facing is kinda a weird one and I'm wondering if isn't the case of adjusting the database pool configuration according to your needs. See https://www.keycloak.org/server/db.

What is the attribute you are trying to add to a user?

from keycloak.

DanielKucal avatar DanielKucal commented on June 2, 2024

So you were adding a User Profile attribute that has the same name as a realm attribute? Which name?

What is the attribute you are trying to add to a user?

@pedroigor @ssilvert exactly, it was a custom name surely not used by Keycloak - "credits"

Here's the exact configuration of the attribute:
image
BTW is there a way to set default value?

See https://www.keycloak.org/server/db.

I've read that page, but it doesn't mention anything specific for MariaDB except that it was tested with v10.11. The database server I'm currently using is out of my control and has been recently updated from 10.6.16 to 10.6.17, but everything seems to work except this issue.

from keycloak.

pedroigor avatar pedroigor commented on June 2, 2024

@DanielKucal It does not seem related to the attribute. If you can provide the exact steps to reproduce the problem with the arguments you are using to start the server it should help to continue the investigation.

Otherwise, we can't do much.

We do have tests creating attributes like you are doing and lots of them. Not sure what might be but something related to how your database connection pool is configured.

BTW is there a way to set default value?

Not yet. Please, create an issue/enhancement because I think it makes sense.

from keycloak.

keycloak-github-bot avatar keycloak-github-bot commented on June 2, 2024

Thanks for reporting this issue, but there is insufficient information or lack of steps to reproduce.

Please provide additional details, otherwise this issue will be automatically closed within 14 days.

from keycloak.

keycloak-github-bot avatar keycloak-github-bot commented on June 2, 2024

Due to lack of updates in the last 14 days this issue will be automatically closed.

from keycloak.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.