Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding customHeaders doesn't do anything #27

Open
AskYous opened this issue May 23, 2017 · 0 comments
Open

Adding customHeaders doesn't do anything #27

AskYous opened this issue May 23, 2017 · 0 comments

Comments

@AskYous
Copy link

AskYous commented May 23, 2017

Adding custom headers does nothing to the generated authorization URL:

passport.use("office365", new OAuth2Strategy({
    "authorizationURL": "https://login.microsoftonline.com/common/oauth2/authorize",
    "tokenURL": "https://login.microsoftonline.com/common/oauth2/token",
    "clientID": "b6c8879b-5c72-43d3-b82d-3d8a7252f3b1",
    ...
    "callbackURL": "http://localhost:3000/auth/provider/callback",
    "customHeaders": {
        "resource": "https://login.microsoftonline.com/common"
    }
});
@AskYous AskYous changed the title customHeaders don't do anything customHeaders doesn't do anything May 23, 2017
@AskYous AskYous changed the title customHeaders doesn't do anything Adding customHeaders doesn't do anything May 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant