Skip to content

Handle API keys #6

Description

@spwoodcock
  • OAM has the requirement for API key / token based auth.
  • It makes sense to have the tokens be per app, stored in the app database (a user record linked to the HOT Login unique global user ID).
  • My hunch is that to facilitate API token login, we handle this on the backend of the app, as an either/or @login_required decorator or @api_token decorator.
  • The router will take the request and check if the authentication is valid for either HOT login, or via the API token validation flow. If either succeeds, the user is authenticated, if not block access.
  • I just wanted to run this by @hg1g and @emi420 who have been leading the implementation of this, to ensure it's a sane approach / fits in with what is done so far 🙏

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status
In review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions