Postman redirects to google login page

Viewed 32

I have an app which uses google oauth login. Using the browser login works fine. I want to send post request with postman ex. POST localhost:8080/data
After sending the request with postman I receive statys 200 ok, and the body is google login page and It is impossible to pass credentials there. Moreover the request never reached desired endpoint
I have tried to use authorization type : basic auth however this doesn't work. I have tried Oauth 2.0 Type authorization and sucessfully obtained access token but i still get redirected to the login page.
Is there any way to sucessfully perform such request?

0 Answers
Related