Teenant email address #68
-
How do I access logged in tenant's email address from the lambda functions? (GetProducts(), GetOrders()) |
Beta Was this translation helpful? Give feedback.
Answered by
ujwalbukka
Dec 11, 2023
Replies: 1 comment 2 replies
-
@tuhin24 - The email address will be part of the JWT token, you can getting from JWT token. In this reference solution, the tenant authorizer already gets other attributes from JWT token, similarly you can add code to get "email" from the JWT token. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@tuhin24 - In the reference solution, Codepipeline only deploys application services i.e., it deploys tenant_template.yaml.
The shared services and the authorizers you mentioned above which are part of boostrap-template.yaml needs to be deployed manually. You can deploy this by just running deployment.sh or by running line54 and line55 in the deployment.sh script.