Skip to content

feat: add auth-request part #1

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

NicolasGirardot
Copy link

Checklist

  • I have read the Contributor Guide
  • I have read and agree to the Code of Conduct
  • I have added a description of my changes and why I'd like them included in the section below

Description of Changes

Describe your changes here

Related Issues

List related issues here

url: string,
headers: dict,
token-duration: s64,
token-response-property: string,
Copy link
Collaborator

Choose a reason for hiding this comment

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

@alexcasalboni we might need more than one token right ?

Choose a reason for hiding this comment

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

for the AWS API (link), the response will include a Credentials property, which is a JSON object (see this structure).

So we could be ok with a single property, but we need to force the component developer to serialize and deserialize into/from string.

Also, I was wondering where that property is going to be injected in the settings - do we assume that we can use the same property? (like settings.Credentials if token-response-property=Credentials)

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.

3 participants