AidanTilgner / Onyx-Personal

This is my personal version of the (so far nonexistent) Onyx Systems core microservices. This is the original project and might change over time, but is completely self-hostable. Still very much pre-production though.
1 stars 0 forks source link

Add auth #24

Closed AidanTilgner closed 2 years ago

AidanTilgner commented 2 years ago

This is pretty general, but so far there's no concept of users and authentication, or authorization. This is fine when hosting locally, but eventually when accessing the servers there needs to be auth, especially when hosting online. The concept of users will also apply, at least on the application side of things. Honestly, a lot of it could even be hardcoded given the fact that this won't be multi-tenant, but we'll see.

AidanTilgner commented 2 years ago

I added an APP_KEY to the applications server, basically a global one time password. This will allow owners to log on with a one time password stored in their local storage.

AidanTilgner commented 2 years ago

The People server is capable of auth now, and therefore the APP_KEY idea will be ditched, it was hacky anyway. Now, in order to use the app, you will have to be logged in on the People server.