How to pass windows authentication(browser) from react application to Spnego Kerberos Spring SSO?

前端 未结 2 1698
没有蜡笔的小新
没有蜡笔的小新 2021-01-25 01:55

We have a react application which used get that data from spring boot webservice. Both is deployed in a same server(tomcat). But we only need Kerberos authentication for webserv

2条回答
  •  温柔的废话
    2021-01-25 02:20

    Using the fetch API, it worked for me by adding credentials: 'include'

    fetch(${authBase}/auth, {credentials: 'include'})

    I know it isn't what you are using but it may help other readers

提交回复
热议问题