404s on index and logout routes
Closed this issue · 3 comments
macfisher commented
It seems like localhost:9000
should route to /
and that should serve a page with a link to the protected page, however this returns a 404.
Also, the /logout route returns a 404. Is this expected or is this a bug? How can I verify that the security configuration class (SecurityModule) is working?
mraible commented
Are you using the same version of libraries that this example uses? Add Authentication to Play Framework with OIDC and Okta is the tutorial I used to create this example.
macfisher commented
Bare with me, I am very new to sbt. I simply pulled your repo and followed the instructions to run it and it doesn't work. I have not changed anything in the build.sbt or anything for that matter.
name := "play-oauth2"
version := "1.0-SNAPSHOT"
lazy val root = (project in file(".")).enablePlugins(PlayJava)
scalaVersion := "2.11.2"
libraryDependencies ++= Seq(
cache,
javaWs,
"org.springframework" % "spring-aop" % "4.0.3.RELEASE",
"org.springframework" % "spring-expression" % "4.0.3.RELEASE",
"org.springframework" % "spring-test" % "4.0.3.RELEASE",
"org.springframework.security" % "spring-security-config" % "3.2.3.RELEASE",
"org.springframework.security" % "spring-security-core" % "3.2.3.RELEASE",
"org.springframework.security.oauth" % "spring-security-oauth2" % "2.0.2.RELEASE"
)
EclipseKeys.withSource := true