Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add API Key support to created client #6

Copy link
Copy link
@netanelgilad

Description

@netanelgilad
Issue body actions

In order to support working with an api key as an authentication method, we need to allow initializing the SDK with an api key that will be used for the base44 api calls fo the client.

  • initializing the client should be with either a token or an api key, but not both. reflect that in the types.
  • Add tests to ensure the api key is sent as the 'api_key' header.
  • Actions like .me() that rely on a specific user token should through an informative error when used with an api key.

@claude do your thing

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.