koa2-oauth-server icon indicating copy to clipboard operation
koa2-oauth-server copied to clipboard

In-Memory example doesn't work

Open westlakem opened this issue 5 years ago • 1 comments

I'm using the in-memory model and the code from the first page and I'm getting a lot of "model does not implement" errors.

For example:

"Invalid argument: model does not implement `saveAuthorizationCode()`"

westlakem avatar Mar 22 '19 15:03 westlakem

same issue.

have to create / import some functions manually for this to work.

you can use docs to fix this.

https://oauth2-server.readthedocs.io/en/latest/model/spec.html#saveauthorizationcode-code-client-user-callback

vijayantkatyal avatar Oct 17 '19 16:10 vijayantkatyal