I have a react app that makes requests to our REST API server using axios.
On the REST server, we added autentication using kerberos. When we simply makes a request to that server using chrome, that authentication works fine (chrome passes the correct header with kerberos's ticket data), but when the react app app makes the request, the ticket isn't added to the request.
How can we access the ticket and send it via the react app?
NOTE: the react application is served as a static content by an apache server and communicates with a diffrent REST server.
You should use directly the fetch API, not axios.
I did a NTLM/Kerberos SSO example with React on this project. Project : https://github.com/jlguenego/react-sso-example
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With