Skip to content

Commit

Permalink
Merge pull request #4330 from guardian/upgrade-to-panda-v7-support-ke…
Browse files Browse the repository at this point in the history
…y-rotation

Upgrade to Panda v7 - support key rotation
  • Loading branch information
rtyley authored Sep 24, 2024
2 parents b569d60 + 8180d55 commit 78b9ca7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ val maybeBBCLib: Option[sbt.ProjectReference] = if(bbcBuildProcess) Some(bbcProj
lazy val commonLib = project("common-lib").settings(
libraryDependencies ++= Seq(
"com.gu" %% "editorial-permissions-client" % "3.0.0",
"com.gu" %% "pan-domain-auth-play_2-8" % "4.0.0",
"com.gu" %% "pan-domain-auth-play_2-8" % "7.0.0",
"com.amazonaws" % "aws-java-sdk-iam" % awsSdkVersion,
"com.amazonaws" % "aws-java-sdk-s3" % awsSdkVersion,
"com.amazonaws" % "aws-java-sdk-ec2" % awsSdkVersion,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class PandaAuthenticationProvider(
val pandaStatus = extractAuth(request)
val providerStatus = pandaStatus match {
case PandaNotAuthenticated => NotAuthenticated
case PandaInvalidCookie(e) => Invalid("error checking user's auth, clear cookie and re-auth", Some(e))
case PandaInvalidCookie(e) => Invalid(s"error checking user's auth, clear cookie and re-auth (${e.getClass.getSimpleName})")
case PandaExpired(authedUser) => Expired(gridUserFrom(authedUser.user, request))
case PandaGracePeriod(authedUser) => Authenticated(gridUserFrom(authedUser.user, request))
case PandaNotAuthorised(authedUser) => NotAuthorised(s"${authedUser.user.email} not authorised to use application")
Expand Down

0 comments on commit 78b9ca7

Please sign in to comment.