instipod / DuoUniversalKeycloakAuthenticator

Keycloak Authenticator for Duo's new Universal Prompt
GNU General Public License v3.0
50 stars 15 forks source link

Duo keeps sending push notification over and over and doesn't proceed after update to 1.0.4 #7

Closed j-insan3 closed 1 year ago

j-insan3 commented 1 year ago

Hi,

I recently updated from 1.0.3 to 1.0.4 but now i can't login using the push notification.

I am using the keycloak:latest_2208.0.0 docker image and when i try to login i see the following log:

2022-12-14 12:36:59.241692+00:00WARNING: An illegal reflective access operation has occurred 2022-12-14 12:36:59.241738+00:00WARNING: Illegal reflective access by retrofit2.Platform (file:/opt/keycloak/lib/../providers/DuoUniversalKeycloakAuthenticator-jar-with-dependencies-1.0.4.jar) to constructor java.lang.invoke.MethodHandles$Lookup(java.lang.Class,int) 2022-12-14 12:36:59.241759+00:00WARNING: Please consider reporting this to the maintainers of retrofit2.Platform 2022-12-14 12:36:59.241765+00:00WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations 2022-12-14 12:36:59.241777+00:00WARNING: All illegal access operations will be denied in a future release 2022-12-14 12:37:07.959043+00:002022-12-14 12:37:07,958 WARN [com.instipod.duouniversal.DuoUniversalAuthenticator] (executor-thread-11) There was a problem exchanging the Duo token. Returning start page. 2022-12-14 12:37:52.009390+00:002022-12-14 12:37:52,009 WARN [com.instipod.duouniversal.DuoUniversalAuthenticator] (executor-thread-11) There was a problem exchanging the Duo token. Returning start page. 2022-12-14 12:37:58.081778+00:002022-12-14 12:37:58,081 WARN [com.instipod.duouniversal.DuoUniversalAuthenticator] (executor-thread-11) There was a problem exchanging the Duo token. Returning start page.

the last line keeps repeating for every push.

instipod commented 1 year ago

I tested this today using the quay.io/keycloak:20.0.2 docker image and the 1.0.4 version of the Duo extension and I wasn't able to replicate; my push was successful and logged me right in.

Is (one of) the Duo pushes sent in the loop logged in the Duo admin panel as a success?

j-insan3 commented 1 year ago

Hi, I think the issue is within a specific account on DUO. I checked a few other accounts and those have no issues. I will keep you updated but i think the problem is outside of this plugin.

j-insan3 commented 1 year ago

Ok, i deleted the account in the DUO panel and registred a new one. Now it is working fine. Don't know what happened but it is working as expected.