jaredhanson / passport-oauth2

OAuth 2.0 authentication strategy for Passport and Node.js.
https://www.passportjs.org/packages/passport-oauth2/?utm_source=github&utm_medium=referral&utm_campaign=passport-oauth2&utm_content=about
MIT License
605 stars 343 forks source link

basic authentication #152

Closed lilletech closed 2 years ago

lilletech commented 2 years ago

when the post request is made to openam authorization endpoint (the enterprise sso), there is a error: { "error": "invalid_client", "error_description": "Invalid authentication method for accessing this endpoint." } because this http request require an http-header authorization with basic credential. How to pass this header ?

lilletech commented 2 years ago

sorry, i haven't seen #147