-
Notifications
You must be signed in to change notification settings - Fork 555
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change authentication for
preview
and admin
to `pan-domain-authen…
…tication` from plain Google auth
- Loading branch information
1 parent
08335f6
commit 8bc873a
Showing
30 changed files
with
224 additions
and
600 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
package controllers | ||
|
||
import conf.{AllGoodCachedHealthCheck, NeverExpiresSingleHealthCheck} | ||
import play.api.libs.ws.WSClient | ||
import play.api.mvc.ControllerComponents | ||
import play.api.mvc.{Action, AnyContent, BaseController, ControllerComponents} | ||
|
||
import scala.concurrent.ExecutionContext | ||
class HealthCheck(val controllerComponents: ControllerComponents) extends BaseController { | ||
|
||
class HealthCheck(wsClient: WSClient, val controllerComponents: ControllerComponents)(implicit | ||
executionContext: ExecutionContext, | ||
) extends AllGoodCachedHealthCheck( | ||
NeverExpiresSingleHealthCheck("/login"), | ||
)(wsClient, executionContext) | ||
def healthCheck(): Action[AnyContent] = | ||
Action { | ||
Ok("OK") | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 0 additions & 34 deletions
34
admin/app/controllers/admin/OAuthLoginAdminController.scala
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.