We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
glued-core/glued/Controllers/AuthController.php
Line 75 in 491deba
accesstoken: $this->auth->fetch_token($request), certs: $this->auth->get_jwks($this->settings['oidc']) ); $this->logger->debug("auth.enforce: jwt", [ "ALL" => $token, "SUB" => $token['claims']['sub'] ]); $user = $this->auth->getuser($token['claims']['sub']); $this->logger->debug("auth.enforce: db", [ "USER" => $user ]); if ($user === false) { $this->logger->error( 'auth.enforce: adduser', [ "UUID" => $token['claims']['sub'] ]); // TODO rework core_auth_user table to reference data from json // TODO consider updating user info from id server - on login only?, cron job? // TODO assign default domain, create one if none exists (call fomain getter/setter in adduser() $this->auth->adduser($token['claims']); } } catch (\Exception $e) { $this->logger->error( 'auth.enforce authentication failed', [ $e->getMessage() ]);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
glued-core/glued/Controllers/AuthController.php
Line 75 in 491deba
The text was updated successfully, but these errors were encountered: