scottksmith95 / beerlocker

Source code for Beer Locker tutorials
http://scottksmith.com/blog/2014/05/02/building-restful-apis-with-node/
426 stars 263 forks source link

BadRequestError: Missing required parameter: transaction_id #8

Open RahatAhmed171 opened 1 year ago

RahatAhmed171 commented 1 year ago

Hi, I've following this tutorial to understand the OAuth flow and also to create custom oauth2 server. Whenever I hit "Allow" button, it shows this error. I saw comments in the blog showing same error faced by the users.

BadRequestError: Missing required parameter: transaction_id at SessionStore.load (C:\Users\User\projects\nodejs projects\beerlocker\node_modules\oauth2orize\lib\txn\session.js:25:25) at transactionLoader (C:\Users\User\projects\nodejs projects\beerlocker\node_modules\oauth2orize\lib\middleware\transactionLoader.js:42:24) at Layer.handle [as handle_request] (C:\Users\User\projects\nodejs projects\beerlocker\node_modules\express\lib\router\layer.js:95:5) at next (C:\Users\User\projects\nodejs projects\beerlocker\node_modules\express\lib\router\route.js:144:13) at complete (C:\Users\User\projects\nodejs projects\beerlocker\node_modules\passport\lib\middleware\authenticate.js:271:13) at C:\Users\User\projects\nodejs projects\beerlocker\node_modules\passport\lib\middleware\authenticate.js:278:15 at pass (C:\Users\User\projects\nodejs projects\beerlocker\node_modules\passport\lib\authenticator.js:428:14) at Authenticator.transformAuthInfo (C:\Users\User\projects\nodejs projects\beerlocker\node_modules\passport\lib\authenticator.js:450:5) at C:\Users\User\projects\nodejs projects\beerlocker\node_modules\passport\lib\middleware\authenticate.js:275:22 at IncomingMessage.req.login.req.logIn (C:\Users\User\projects\nodejs projects\beerlocker\node_modules\passport\lib\http\request.js:44:13)