LAION-AI / LAION-AI/Open-Assistant

Support user-level OAuth plugin authentication

Open
#3,109 0 comments 1 reaction 1 assignee View on GitHub

@olliestanley is already working on this.

Since May 19, 2023.

inference
Dominant language
Python
Stars
37.4k
Forks
3.3k
PR merge metrics
No merged PRs in 30d

Description

Will support plugins for which ai-plugin.json contains:

"auth": {
  "type": "oauth"
},
  • Plugin has client ID and secret, securely store encrypted version of client secret, store client ID
  • Mechanism for plugin author receiving verification token
  • Redirect user to plugin auth URL
  • When user is redirected back to OA, exchange received code for an access token

See OpenAI spec for OAuth plugin authentication.

Once backend support is merged, a new issue can be opened for the frontend to support it

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.