node-oauth2-server icon indicating copy to clipboard operation
node-oauth2-server copied to clipboard

Does this library actually work?

Open vincentpham13 opened this issue 2 years ago • 3 comments

I can not see any code examples or documentation details, even got some weird errors.

{ "statusCode": 401, "message": "Unauthorized request: no authentication given" }

vincentpham13 avatar Jun 12 '23 12:06 vincentpham13

@vincentpham13 Yes it works. You need to pass custom authenticateHandler to authorize handler or make sure there is authentication exists.

Please go though this stuff https://github.com/oauthjs/node-oauth2-server/issues/358 https://github.com/oauthjs/node-oauth2-server/issues/264

There is an example of implementation https://github.com/foundersandcoders/open-tourism-platform/tree/master

killmenot avatar Aug 07 '23 08:08 killmenot

This library is not maintained anymore and has some security issues. You should use this maintained successor instead!

jorenvandeweyer avatar Aug 29 '23 07:08 jorenvandeweyer

This library is not maintained anymore and has some security issues. You should use this maintained successor instead!

thank you.

Lucyfurnice avatar Oct 18 '23 12:10 Lucyfurnice