Created
December 5, 2020 02:40
-
-
Save spiritbroski/b9f3d820ab0b87690eb9822f397a0e23 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| service: authorize | |
| useDotenv: true | |
| provider: | |
| name: openwhisk | |
| ignore_certs: true | |
| functions: | |
| authorize-github: | |
| handler: authorize.github | |
| parameters: | |
| github_client_id: ${env:github_client_id} | |
| github_client_secret: ${env:github_client_secret} | |
| bind: | |
| - service: | |
| name: cloudantnosqldb | |
| instance: Cloudant-vm | |
| events: | |
| - http: GET /authorize | |
| plugins: | |
| - serverless-openwhisk | |
| - serverless-dotenv-plugin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment