invalid grant error

3,159 views
Skip to first unread message

Steffi Das

unread,
Mar 8, 2022, 12:27:30 PM3/8/22
to Keycloak User
{
    "error": "invalid_grant",
    "error_description": "Account is not fully set up"
}

request and the actions are attached,keycloak version is 15.0.0,can anyone please help out with what else needs to be configured ,i searched on google nothing specific for this error apart from the required actions i found


keycloak user settings.PNG
keycloak error.PNG

Steffi Das

unread,
Mar 9, 2022, 3:36:26 PM3/9/22
to Keycloak User
have configured email for both the logged in user as well as the user configured in realm,its giving as attached error,any help please
email testing error.png

Mohit Gupta

unread,
Jul 18, 2024, 5:01:34 AM7/18/24
to Keycloak User
Hey Steffi, you got any solution to this problem using keycloak api?

Alejandro Zepeda

unread,
Aug 7, 2024, 1:05:20 PM8/7/24
to Keycloak User
Hi,

After some struggle, this worked for me:

Go to your server and log in as the user you have troubles with:


Then you will be obliged to fulfill the data required. Only then that error disappeared in my case.

Besides it was interesting to find out that logs and database showed some hints after activating some events in UI at ["Realm settings"/Events/"User events settings"] and ["Realm settings"/Events/"Admin events settings"]

docker run -p 8080:8080 \
    -e KEYCLOAK_ADMIN=admin -e KEYCLOAK_ADMIN_PASSWORD=123456 \
    -e KC_DB=postgres \
    -e KC_DB_URL=jdbc:postgresql://your_postgres_server/keycloak -e KC_DB_USERNAME=keycloak -e KC_DB_PASSWORD=123456 \
    quay.io/keycloak/keycloak:latest start-dev --log-level=TRACE,org.hibernate:INFO,org.keycloak.transaction:INFO,org.keycloak.services.scheduled:INFO,org.infinispan:INFO
       
Reply all
Reply to author
Forward
0 new messages