Open nakamorichi opened 8 years ago
Nothing has been done to integrate the Swagger OAuth with hapi-auth-jwt2 and hapi scopes at present. You would have to write your own integration for that. However, it should be very easy to do. See: https://github.com/theganyo/swagger-node-runner/releases/tag/v0.6.10.
I'm using hapi-auth-jwt2 for authentication and ordinary Hapi scopes for authorization. How do I configure these when using swagger-hapi and all my route definitions are in swagger.yaml?