Is it possible to add user/password in the rest api header or as query params when implementing the openID connect?
I have just finished a rest api that is implementing authorization code flow open id connect, so it's working fine, when I hit the api URL, it redirects me to the server, there I pass user/password and after validation I am getting the response.
My doubt is, is this possible that I pass user/password in the rest api header or as query params, so that it doesn't redirects me to the login page, but directly takes me to the api response.