Sign in users via Facebook and sign up new users automatically
[examples/facebook-app] / src / main / webapp / thymeleaf / signin.html
diff --git a/src/main/webapp/thymeleaf/signin.html b/src/main/webapp/thymeleaf/signin.html
new file mode 100644 (file)
index 0000000..687d7f4
--- /dev/null
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
+  <head>
+    <title>Sign In</title>
+  </head>
+  <body>
+    <form action="#" th:action="@{/signin/facebook}" method="POST">
+      <input type="hidden" name="scope" value="public_profile,manage_pages" />
+      <button type="submit">Sign in with Facebook</button>
+    </form>
+  </body>
+</html>