add session route
This commit is contained in:
@@ -14,7 +14,7 @@ Globals:
|
||||
Architectures:
|
||||
- x86_64
|
||||
Layers:
|
||||
- !Sub arn:aws:lambda:sa-east-1:336641857101:layer:layercake:91
|
||||
- !Sub arn:aws:lambda:sa-east-1:336641857101:layer:layercake:92
|
||||
Environment:
|
||||
Variables:
|
||||
TZ: America/Sao_Paulo
|
||||
@@ -52,16 +52,10 @@ Resources:
|
||||
- DynamoDBCrudPolicy:
|
||||
TableName: !Ref OAuth2Table
|
||||
Events:
|
||||
Login:
|
||||
Session:
|
||||
Type: HttpApi
|
||||
Properties:
|
||||
Path: /login
|
||||
Method: GET
|
||||
ApiId: !Ref HttpApi
|
||||
LoginPost:
|
||||
Type: HttpApi
|
||||
Properties:
|
||||
Path: /login
|
||||
Path: /session
|
||||
Method: POST
|
||||
ApiId: !Ref HttpApi
|
||||
Authorize:
|
||||
@@ -70,13 +64,13 @@ Resources:
|
||||
Path: /authorize
|
||||
Method: GET
|
||||
ApiId: !Ref HttpApi
|
||||
OpenidConfiguration:
|
||||
OpenIDConfiguration:
|
||||
Type: HttpApi
|
||||
Properties:
|
||||
Path: /.well-known/openid-configuration
|
||||
Method: GET
|
||||
ApiId: !Ref HttpApi
|
||||
Jwks:
|
||||
JWKS:
|
||||
Type: HttpApi
|
||||
Properties:
|
||||
Path: /.well-known/jwks.json
|
||||
|
||||
Reference in New Issue
Block a user