This repository was archived by the owner on Jan 5, 2019. It is now read-only.
[DO NOT MERGE] proof of concept for a 3rd-party tool to get a user's TC creds#48
Closed
djmitche wants to merge 1 commit intotaskcluster:masterfrom
Closed
[DO NOT MERGE] proof of concept for a 3rd-party tool to get a user's TC creds#48djmitche wants to merge 1 commit intotaskcluster:masterfrom
djmitche wants to merge 1 commit intotaskcluster:masterfrom
Conversation
… credentials
To run:
* get an API set up in Auth0, plus two clients -- one a single-page app, and one
with access to read users in the management API
* add config in user-config.yml to the `ngrok` profile::
auth0api:
apiAudience: <api audience>
domain: <auth0 domain>
clientId: <client with mgmt access>
clientSecret: <client with mgmt access>
mgmtApiToken: <management API token for that client> (only lasts 24h; see https://auth0.com/docs/api/management/v2/tokens)
* Run via an ngrok tunnel; I use taskcluster-login.ngrok.io
* Hit https://taskcluster-login.ngrok.io/some-tool to open the client.
* Click buttons
Contributor
Author
|
OK, concept's proven! We'll keep this branch around as useful source information. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
To run:
get an API set up in Auth0, plus two clients -- one a single-page app, and one
with access to read users in the management API
add config in user-config.yml to the
ngrokprofile::auth0api:
apiAudience:
domain:
clientId:
clientSecret:
mgmtApiToken: (only lasts 24h; see https://auth0.com/docs/api/management/v2/tokens)
Run via an ngrok tunnel; I use taskcluster-login.ngrok.io
Hit https://taskcluster-login.ngrok.io/some-tool to open the client.
Click buttons