8000 Pass upstream URL to token generation by mdehoog · Pull Request #11 · google/goblet · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Pass upstream URL to token generation #11

8000 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 1 commit into
base: master
Choose a base branch
from

Conversation

mdehoog
Copy link
@mdehoog mdehoog commented Dec 24, 2021

When Goblet is used across different repos or different organizations, it's useful to support custom token generation mechanisms for different ups 7E7A treams. For example, a Github app's installation tokens need to be generated separately for each organization.

This PR modifies the TokenSource configuration option to a function that accepts the upstream URL as a parameter.

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.

1 participant
0