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

Developers: revamp "Applications" and create "Personal Tokens" settings #5736

Closed
znarf opened this issue Jul 12, 2022 · 3 comments · Fixed by opencollective/opencollective-frontend#8455 or opencollective/opencollective-api#8315

Comments

@znarf
Copy link
Member

znarf commented Jul 12, 2022

The "Applications" (also named "Api Keys") is getting old and we would like to revamp it in the developer settings under a new name: "Personal Tokens".

If possible, we should also add new features like "scope" and "expiration".

@znarf znarf added the oauth label Jul 14, 2022
@znarf znarf added this to the FY22Q4S1 milestone Oct 4, 2022
@znarf
Copy link
Member Author

znarf commented Oct 4, 2022

I would like to see this project considered for prioritization next sprint (Q4S1).

@flickz flickz self-assigned this Nov 10, 2022
@flickz
Copy link

flickz commented Nov 21, 2022

For the Personal Tokens. I'm making the following assumptions:

  • Following the same pattern as the "OAuth App", the personal token should look like

Screen Shot 2022-11-21 at 11 01 23 PM

  • On clicking "Create personal token" The modal form pops up with the following inputs. Name, Scope (Reusing invoice tag selection component), and Expiration selection

Screen Shot 2022-11-21 at 11 05 38 PM

Screen Shot 2022-11-21 at 11 23 15 PM

Screen Shot 2022-11-21 at 11 23 53 PM

  • The API implementation will be reusing existing query/mutation "Application -> API keys" with additional support for scope & expiration.
  • The existing "Application -> API keys" will be removed from the menu dropdown.

@Betree
Copy link
Member

Betree commented Dec 29, 2022

Would be great to update https://blog.opencollective.com/open-collective-graphql-api-preview/ when we release this; we've shared it in a couple of places.

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