jaredhanson / oauth2orize

OAuth 2.0 authorization server toolkit for Node.js.
https://www.oauth2orize.org?utm_source=github&utm_medium=referral&utm_campaign=oauth2orize
MIT License
3.46k stars 471 forks source link

request.oauth2.transactionId is undefined #218

Closed felixfrtz closed 6 years ago

felixfrtz commented 6 years ago

Hey,

I am testing out authorizing a consumer as a user. I have the problem that in the dialog which gets rendered to the user to approve the consumer, the transactionId is undefined:

response.render('dialog', { transactionId: request.oauth2.transactionId, user: request.user, client: request.oauth2.client });

Where does this transactionId gets appended to the request? Why could it be undefined?

felixfrtz commented 6 years ago

Ok nevermind, this is an issue with gerges-beshay/oauth2orize-examples having a typo there. It should be transactionID, with a capital D.