You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 🙏
@login_requireddecorator or@api_tokendecorator.