Skip to content
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
djmitche:auth0api
Closed

[DO NOT MERGE] proof of concept for a 3rd-party tool to get a user's TC creds#48
djmitche wants to merge 1 commit intotaskcluster:masterfrom
djmitche:auth0api

Conversation

@djmitche
Copy link
Copy Markdown
Contributor

@djmitche djmitche commented Apr 20, 2017

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:
    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

… 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
@djmitche djmitche changed the title Bug 1354251: proof of concept for a 3rd-party tool to get a user's TC… [DO NOT MERGE] proof of concept for a 3rd-party tool to get a user's TC… Apr 20, 2017
@djmitche djmitche changed the title [DO NOT MERGE] proof of concept for a 3rd-party tool to get a user's TC… [DO NOT MERGE] proof of concept for a 3rd-party tool to get a user's TC creds Apr 20, 2017
@djmitche
Copy link
Copy Markdown
Contributor Author

OK, concept's proven! We'll keep this branch around as useful source information.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant