Hi Mohib,
Here is the log:
2020-03-22 10:48:47,002 INFO [qtp1590550415-11] [org.gluu.oxauth.service.AuthenticationService] (AuthenticationService.java:589) - Attempting to redirect user: SessionUser: SessionId {dn='30dd202f-01dd-4e12-8963-b3d3c1cb9751', id='30dd202f-01dd-4e12-8963-b3d3c1cb9751', lastUsedAt=Sun Mar 22 10:48:46 UTC 2020, userDn='inum=d872deb0-f037-4ca2-a5a2-eb8588436142,ou=people,o=gluu', authenticationTime=Sun Mar 22 10:48:46 UTC 2020, state=authenticated, sessionState='609286f15967bd9de419fc2bd9979b6a6ff24aebd41fa9a5c94a686cef3f3a23.c9be9ee3-fa9f-404a-b097-513e61ff590d', permissionGranted=null, isJwt=false, jwt=null, permissionGrantedMap=SessionIdAccessMap{permissionGranted={1101.a046cab2-6b27-46d7-86ad-054cb59235d6=false}}, involvedClients=null, sessionAttributes={auth_external_attributes=null, opbs=a43606e0-2146-4de8-8162-bc989a1ec8d1, response_type=code, nonce=Yns9ZJ8hX9, client_id=1101.a046cab2-6b27-46d7-86ad-054cb59235d6, auth_step=1, acr=simple_password_auth, remote_ip=178.148.71.4, auth_user=dusan, scope=openid email user_name, redirect_uri=https://access.dev.macs.co/idp/Authn/oxAuth, state=eyJ0eXAiOiJKV1QiLCJhbGciOiJub25lIn0.eyJzdGF0ZSI6IlJFWnNCZVVub2EiLCJjb252ZXJzYXRpb24iOiJlMXMxIn0.}, persisted=true}
2020-03-22 10:48:47,005 INFO [qtp1590550415-11] [org.gluu.oxauth.service.AuthenticationService] (AuthenticationService.java:597) - Attempting to redirect user: User: org.gluu.oxauth.model.common.User@21352649
2020-03-22 10:48:47,009 INFO [qtp1590550415-11] [org.gluu.oxauth.auth.Authenticator] (Authenticator.java:430) - Authentication success for User: 'dusan'
2020-03-22 10:48:47,704 INFO [qtp1590550415-11] [org.gluu.oxauth.auth.Authenticator] (Authenticator.java:277) - Authentication success for Client: '1101.a046cab2-6b27-46d7-86ad-054cb59235d6'
2020-03-22 10:54:23,479 INFO [qtp1590550415-10] [org.gluu.oxauth.service.AuthenticationService] (AuthenticationService.java:589) - Attempting to redirect user: SessionUser: SessionId {dn='0a972c8a-1298-4401-bec7-0bd6ad798580', id='0a972c8a-1298-4401-bec7-0bd6ad798580', lastUsedAt=Sun Mar 22 10:54:23 UTC 2020, userDn='inum=d872deb0-f037-4ca2-a5a2-eb8588436142,ou=people,o=gluu', authenticationTime=Sun Mar 22 10:54:23 UTC 2020, state=authenticated, sessionState='864ebdb68171f5b893e17169745ece615d39ddaa8d6587d8e37478b4bdab2e00.c38326c5-160b-4974-810a-be7de1c76b53', permissionGranted=null, isJwt=false, jwt=null, permissionGrantedMap=SessionIdAccessMap{permissionGranted={1101.a046cab2-6b27-46d7-86ad-054cb59235d6=false}}, involvedClients=null, sessionAttributes={auth_external_attributes=null, opbs=813747e1-6e3b-4540-8961-622f966b9aec, response_type=code, nonce=stnU26x1IC, client_id=1101.a046cab2-6b27-46d7-86ad-054cb59235d6, auth_step=1, acr=simple_password_auth, remote_ip=178.148.71.4, auth_user=dusan, scope=openid email user_name, redirect_uri=https://access.dev.macs.co/idp/Authn/oxAuth, state=eyJ0eXAiOiJKV1QiLCJhbGciOiJub25lIn0.eyJzdGF0ZSI6IlNXa1oyT0lnWUYiLCJjb252ZXJzYXRpb24iOiJlMXMxIn0.}, persisted=true}
2020-03-22 10:54:23,480 INFO [qtp1590550415-10] [org.gluu.oxauth.service.AuthenticationService] (AuthenticationService.java:597) - Attempting to redirect user: User: org.gluu.oxauth.model.common.User@3de724dc
2020-03-22 10:54:23,481 INFO [qtp1590550415-10] [org.gluu.oxauth.auth.Authenticator] (Authenticator.java:430) - Authentication success for User: 'dusan'
2020-03-22 10:54:24,132 INFO [qtp1590550415-14] [org.gluu.oxauth.auth.Authenticator] (Authenticator.java:277) - Authentication success for Client: '1101.a046cab2-6b27-46d7-86ad-054cb59235d6'
root@ip-172-31-0-165:/#
I see that there are two moments here, the first test with Salesforce going first and the second test with Wordpress going first.
But interestingly, in neither of those do I see a failed second attempt.
Any ideas?