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

Automatically creating API keys and accessing on the backend #85

Open
joshghent opened this issue May 2, 2024 · 0 comments
Open

Automatically creating API keys and accessing on the backend #85

joshghent opened this issue May 2, 2024 · 0 comments

Comments

@joshghent
Copy link

Hey there, first of all, this project is amazing - thanks for your work on this! Keep going! 👍

I'm wondering how I can accomplish the following:

  1. How I can automatically create API keys (I suppose in the metadata in the basejump schema?) when a new account is created - both people and teams.
  2. How I can get and use the API key in a NextJS API route. For example, I want to grab the team details (including their payment plan) from the API key sent in the request header.

Thanks again :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant