Skip to content

Commit

Permalink
fix: missing auth routes in kong.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
awalias authored Jun 28, 2021
1 parent bcf6a8a commit cd8d4cb
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/templates/init/docker/kong/kong.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,26 @@ services:
- /auth/v1/verify
plugins:
- name: cors
- name: auth-v1-callback
_comment: 'GoTrue: /auth/v1/callback* -> http://auth:9999/callback*'
url: http://auth:9999/callback
routes:
- name: auth-v1-callback
strip_path: true
paths:
- /auth/v1/callback
plugins:
- name: cors
- name: auth-v1-authorize
_comment: 'GoTrue: /auth/v1/authorize* -> http://auth:9999/authorize*'
url: http://auth:9999/authorize
routes:
- name: auth-v1-authorize
strip_path: true
paths:
- /auth/v1/authorize
plugins:
- name: cors
- name: auth-v1
_comment: 'GoTrue: /auth/v1/* -> http://auth:9999/*'
url: http://auth:9999/
Expand Down

0 comments on commit cd8d4cb

Please sign in to comment.