Skip to content

feature request: ability to generate API key without authing in web UI #62

@shortstack

Description

@shortstack

afaict, the only way to generate an API key is by logging into the web UI (grabs the current user and session data etc to generate an API key)

https://github.com/openrelik/openrelik-server/blob/main/src/api/v1/users.py#L73

i'm trying to automate this process entirely.... is there a chance that the /me/apikeys endpoint could support some kind of user/password auth flow to generate and return an API key without having to first be logged into the web UI?

Metadata

Metadata

Assignees

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