Skip to content

Retrieve user information with newly created token #4

Description

@Mattamorphic

To demonstrate that the new token is valid we should fetch

  • The username of the user
  • The token which was just created and the scopes for that token
  • The list of all tokens for that user, grouped by scopes
  • The list of organizations the user is a member of

We can do this with @octokit/rest.js

  • We should encapsulate this in a helper class that we inject an instance of Octokit into
  • We should hide the business logic in a controller
  • Let's also make this a set of endpoints

Activity

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions