user2113885
user2113885

Reputation: 11

unable to get access_token from ADFS when spring webflux webclient is used

We have an existing code that makes calls to ADFS endpoint for UI authentication passing below 4 parameters "grant_type":"authorization_code" "redirect_uri":<redirect_uri> "client_id":<client_id> "code":<code> when we make a call with jerseyclient able to get access_token", but when we replaced it with webclient, not able to get response.

I have specifically added followredirect(true), still no response. I have followed https://codersee.com/how-to-follow-redirects-3xx-with-spring-webclient/ but could not add sensitive headers using java as mentioned.

Upvotes: 1

Views: 21

Answers (0)

Related Questions