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
Authentication of the API is primarily via JWTs in the Authorization header of the HTTP calls. These JWTs are short-term tokens that expire and are signed by the API. They are slightly more secure than using API keys directly to authenticate every call as API keys are long-term/non-expiring authentication tokens which are more powerful if stolen. So the mechanism used here is that API keys are exchanged for JWTs, which are then used to authenticate each call and can store additional information such as "enduser" identity.
Authentication of this program is via Username/Password. There is a single username/password combination that will authenticate to this program and its set in the env var file as the variables `USERNAME` and `PASSWORD`. There's no user table or api key situation as this is a worker job with limited functionality. And it is supposed to have a limited set of users (a subset of Datakinders -- probably only one or two people).
0 commit comments