basejump
basejump copied to clipboard
Automatically creating API keys and accessing on the backend
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:
- 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.
- 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 :)