Skip to content

response_type hard codedΒ #68

Open
Open
@mattdot

Description

@mattdot

I'm implementing a passport provider for visual studio online and they use response_type=Assertion (docs @ https://www.visualstudio.com/en-us/docs/integrate/get-started/auth/oauth ). Unfortunately passport-oauth2 hardcodes response_type=code. Would you be open to a pull request that allows derived strategies to override the response_type? I got my passport provider working by just copying the entire authorize implementation, but it seems like I shouldn't have had to do that.

https://github.com/mattdot/passport-visualstudio/blob/master/lib/strategy.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions