-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
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
UML-3132 service api one login dummy endpoint returns a user #2398
Conversation
service-api/app/config/routes.php
Outdated
@@ -136,6 +137,7 @@ | |||
$app->patch('/v1/auth', AuthHandler::class, 'user.auth'); | |||
|
|||
$app->get('/v1/auth-one-login', OneLoginAuthenticationRequestHandler::class, 'user.auth-one-login'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should use /v1/auth/start
and /v1/auth/callback
service-api/app/config/routes.php
Outdated
@@ -30,6 +30,7 @@ | |||
use Mezzio\MiddlewareFactory; | |||
use Psr\Container\ContainerInterface; | |||
use App\Handler\OneLoginAuthenticationRequestHandler; | |||
use App\Handler\OneLoginAuthorisationProcessHandler; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use App\Handler\OneLoginAuthorisationProcessHandler; | |
use App\Handler\OneLoginAuthenticationCallbackHandler; |
Codecov Report
@@ Coverage Diff @@
## main #2398 +/- ##
=========================================
Coverage 92.03% 92.03%
Complexity 1463 1463
=========================================
Files 279 279
Lines 6656 6656
=========================================
Hits 6126 6126
Misses 513 513
Partials 17 17
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Purpose
Creates a simple handler that returns a user object on service-api for one login.
Fixes UML-3132
Checklist