Need help: "type=CODE_TO_TOKEN_ERROR" with "error=not_allowed"

2,339 views
Skip to first unread message

Patric Sherif

unread,
Sep 22, 2020, 10:43:34 AM9/22/20
to Keycloak User
I need help with an error, the keycloak log shows this:
2020-09-17 12:07:17,900 WARN  [org.keycloak.events] (default task-1) type=CODE_TO_TOKEN_ERROR, realmId=amisconnect, clientId=amisconnect_platform, userId=d0665320-7f58-40e5-a96d-dc6a1cbe19d0, ipAddress=127.0.0.1, error=not_allowed, grant_type=authorization_code, code_id=e726db39-6205-4799-bb8b-d274fe39526c, client_auth_method=client-secret

It is not clear to me what this is supposed to mean, nor could I find any information about this specific error.

We copied the keycloak setup from one machine to another (partly using realm import) and on the new setup this error occurs on the other it doesn't.

It could be a problem with the new machine or a setting that is incorrect, but I am not sure where to look and couldn't find anything so far. 

Мартынов Илья

unread,
Sep 24, 2020, 3:16:10 PM9/24/20
to Patric Sherif, Keycloak User
Hi, 

As you received authorization code, user was successfully authenticated. Looks like authorization code flow is disabled for your client amisconnect_platform

вт, 22 сент. 2020 г., 17:43 Patric Sherif <patric...@gmail.com>:
--
You received this message because you are subscribed to the Google Groups "Keycloak User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to keycloak-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/keycloak-user/c7d722b3-b2d1-4051-b703-b421267901cbo%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages