Skip to content

Automatically creating API keys and accessing on the backend #85

@joshghent

Description

@joshghent

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 :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions