Keycloak CORS issue when being redirected to login

前端 未结 3 2102
清歌不尽
清歌不尽 2021-01-11 19:15

I am trying to get the nodeJS keycloak adapter working with my Express application, but am facing a CORS issue when it tries to redirect to the login page for routes I have

3条回答
  •  情书的邮戳
    2021-01-11 19:51

    Just put the url of your app like "http://localhost:8081" in "Web Origins" field of client settings in Keycloak.

提交回复
热议问题