Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add roles/groups of jwt token #743

Draft
wants to merge 26 commits into
base: develop
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add log output
  • Loading branch information
anita-steiner committed Jul 13, 2022
commit a559ef7dbbae94d6ef446de7bd44e2ce81aee9a7
1 change: 1 addition & 0 deletions tdp_core/security/store/alb_security_store.py
Original file line number Diff line number Diff line change
@@ -20,6 +20,7 @@ def load_from_request(self, req):
try:
roles = []
# Get token data from header
_log.debug(f"headers: {req.headers}")
encoded = req.headers["X-Amzn-Oidc-Data"]
_log.debug(f"X-Amzn-Oidc-Data: {encoded}")
_log.debug(f"X-Amzn-Oidc-Accesstoken: {req.headers['X-Amzn-Oidc-Accesstoken']}")