Commit graph

8 commits

Author SHA1 Message Date
Daniel López Guimaraes
120776e197
fix: Better initialization of NEX server accounts
Initializing the server accounts in their own thread (e.g. the
authentication and secure servers) can cause a race condition where the
secure account hasn't been set up yet when authentication configures
`ticket-granting`, causing sometimes crashes on startup.

This has happened on production causing unnecesary restarts. To fix
this, initialize the accounts on the `init` function to ensure they will
always be accessible when needed.
2024-10-29 23:01:59 +00:00
Jonathan Barrow
491b475a9c
chore: remove debug logging 2024-04-08 16:09:43 -04:00
Jonathan Barrow
4d299a3612
rewrite: Migrate to v2 libraries and small bug fixes 2024-04-08 08:53:39 -04:00
Jonathan Barrow
91b13c31a4
work with new nex-go 2023-11-12 06:48:13 -05:00
Daniel López Guimaraes
2f80336681
Rename friends-secure to friends and remove Mongo
Replace MongoDB usage with GRPC calls to the account server. Also
include documentation on the README and a Makefile.
2023-08-13 01:05:08 +01:00
SuperMarioDaBom
5a62bb2aa2 Fix typo (v1->v0) 2023-07-18 11:41:18 -07:00
SuperMarioDaBom
ca71cb56f6
Update authentication.go
Set NEX version
2023-07-17 12:11:50 -07:00
SuperMarioDaBom
a817a7ccd0 Merge authentication and secure servers 2023-07-16 21:20:04 -07:00