Skip to content

Support client_credentials tokens in TES and storage routes - #179

Open
piotrsenkow wants to merge 1 commit into
masterfrom
chore/client_tokens_tes
Open

Support client_credentials tokens in TES and storage routes#179
piotrsenkow wants to merge 1 commit into
masterfrom
chore/client_tokens_tes

Conversation

@piotrsenkow

Copy link
Copy Markdown

Link to JIRA ticket if there is one:

New Features

Breaking Changes

Bug Fixes

Improvements

Dependency updates

Deployment changes

raise HTTPException(HTTP_401_UNAUTHORIZED, err_msg)
logger.info(f"User '{user_id}' creating TES task")
principal = await auth.get_principal()
user_id = principal["id"]

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
user_id = principal["id"]
principal_id = principal["id"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants