wildfly integration with keycloak 403 forbidden error

后端 未结 3 816
滥情空心
滥情空心 2021-01-06 13:23

I have an application integrated with keycloak. THe application runs on wildfly server. I use web.xml to authenticate keycloak(as Login config). Apart from that i use keyclo

3条回答
  •  清歌不尽
    2021-01-06 14:14

    As the setup worked without SSL, a scope related issue might not result in 403 error. Instead, connectivity from client application server to IDP server over the IDP HTTPS port can be tested first (can use telnet).

    Else, it can be SSL certificate verification issue, as answered by @Shiva. Just to add to it, ideally, a valid CA certificate may not create trust issue. In such a case, supported browsers and java versions for your IDP certificate's CA can be checked. Just upgrading to latest java version or adding the CA's root certificate to your default trust store can solve such problems. This will not require any changes to the keycloak.json file.

    GoDaddy certificate issue example.

    P.S: As I could not add a comment, added these points here.

提交回复
热议问题