Digital identity backend architecture: JWT and OAuth decisions