Skip to content
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

API endpoints to retrieve integration credentials #8003

Closed
Pwuts opened this issue Sep 5, 2024 — with Linear · 0 comments · Fixed by #8024
Closed

API endpoints to retrieve integration credentials #8003

Pwuts opened this issue Sep 5, 2024 — with Linear · 0 comments · Fixed by #8024
Labels

Comments

Copy link
Member

Pwuts commented Sep 5, 2024

We need the following endpoints:

  • GET /integrations/{provider}/credentials - list all credentials for a provider, without secrets (metadata only)
  • GET /integrations/{provider}/credentials/{cred_id} - retrieve a set of credentials (including secrets)

OAuth email access

  1. Google, need scopes: email, (and likely) openid, profile
    Accessed at: https://www.googleapis.com/oauth2/v2/userinfo
    Useful Stackoverflow discussion
  2. GitHub, scopes: user:email
    API docs
  3. Notion; scopes are set in Capabilities
    Email is returned with access token response object at: owner.person.email for non-bot users
@Pwuts Pwuts added the API label Sep 5, 2024 — with Linear
@Pwuts Pwuts changed the title API endpoint to retrieve integration credentials API endpoints to retrieve integration credentials Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant