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

Incompatible assert OpenIDConnectStrategy when using koa-passport #40

Closed
ppvolto opened this issue Jul 14, 2017 · 3 comments
Closed

Incompatible assert OpenIDConnectStrategy when using koa-passport #40

ppvolto opened this issue Jul 14, 2017 · 3 comments

Comments

@ppvolto
Copy link

ppvolto commented Jul 14, 2017

I current Switch my App from Express and found a Problem with the OpenIDConnectStrategy when using koa-passport

I think the following message pops up since koa-passport mocks the RequestObject into a Object and so its can never be a IncomingMessage or a String
AssertionError [ERR_ASSERTION]: #callbackParams only accepts string urls or http.IncomingMessage

I hope That can be fixed or i need a alternative for koa-passport or passport in general.

@panva
Copy link
Owner

panva commented Jul 14, 2017

Please post a stripped down working example of an application that exhibits this behavior, i can help then.

@panva
Copy link
Owner

panva commented Jul 14, 2017

see if v1.11.1 solves your problem

@ppvolto
Copy link
Author

ppvolto commented Jul 14, 2017

Thanks Helps with this Problem... next is to work out how i can interconnect your provider model with koa-passport... but thats current my problem alone

@github-actions github-actions bot locked and limited conversation to collaborators Apr 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants