Open AmayraRajput opened 8 years ago
I would suggest you to study oauth2 to understand the flow, grant types and their use cases. If you don't understand the flow, it will be difficult to write code. you can play in this example to understand the flow. https://github.com/jaredhanson/oauth2orize/tree/master/examples/all-grants
How do I implement oauth2orize in hapijs. Please suggest. I did this code but it's not working when I am hitting the API. I am new in hapijs and oauth2orize. Also hapi-oauth2orize is not working as I am using hapi 13.4.1 which is not compatible with hapi-oauth2orize 1.3.0, throwing error 'Invalid plugin options {}' .Please suggest me a way to implement oauth2orize in hapijs.