This repository has been archived by the owner on Feb 10, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 366
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #187 from joscha/oauth2-test
Oauth2 test
- Loading branch information
Showing
16 changed files
with
246 additions
and
109 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
1.sql | ||
/.target | ||
github-buttons | ||
test-env.sh | ||
repo |
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,15 +1,32 @@ | ||
language: scala | ||
scala: | ||
- 2.10.4 | ||
- 2.11.1 | ||
before_install: | ||
- "export DISPLAY=:99.0" | ||
- "sh -e /etc/init.d/xvfb start" | ||
script: | ||
- "cd $TRAVIS_BUILD_DIR/code" | ||
- "sbt ++$TRAVIS_SCALA_VERSION test" | ||
- "sbt ++$TRAVIS_SCALA_VERSION publish-local" | ||
- "cd $TRAVIS_BUILD_DIR/test-app" | ||
- "sbt ++$TRAVIS_SCALA_VERSION test" | ||
- "cd $TRAVIS_BUILD_DIR/samples/java/play-authenticate-usage" | ||
- "sbt ++$TRAVIS_SCALA_VERSION test" | ||
- "cd $TRAVIS_BUILD_DIR/samples/java/play-authenticate-simple-oauth" | ||
- "sbt ++$TRAVIS_SCALA_VERSION test" | ||
- cd $TRAVIS_BUILD_DIR/code | ||
- sbt --warn ++$TRAVIS_SCALA_VERSION compile | ||
- sbt ++$TRAVIS_SCALA_VERSION test | ||
- sbt --warn ++$TRAVIS_SCALA_VERSION publish-local | ||
- cd $TRAVIS_BUILD_DIR/test-app | ||
- sbt --warn ++$TRAVIS_SCALA_VERSION compile | ||
- sbt ++$TRAVIS_SCALA_VERSION test | ||
- cd $TRAVIS_BUILD_DIR/samples/java/play-authenticate-usage | ||
- sbt --warn ++$TRAVIS_SCALA_VERSION compile | ||
- if [[ "$TRAVIS_SECURE_ENV_VARS" == "true" ]]; then sbt --info ++$TRAVIS_SCALA_VERSION test; | ||
fi | ||
- cd $TRAVIS_BUILD_DIR/samples/java/play-authenticate-simple-oauth | ||
- sbt --warn ++$TRAVIS_SCALA_VERSION compile | ||
- sbt ++$TRAVIS_SCALA_VERSION test | ||
notifications: | ||
email: false | ||
email: false | ||
env: | ||
global: | ||
# GOOGLE_USER_PASSWORD | ||
- secure: gm1FnnjROan7Fbq3ezsa49W1OpwgQBjPslBaWvubG8cx3EceYmnwmT1IaM2v+WnbU+MldODhQI9rNYluv6pkrKQRvu7oif3L0G+kbNvA/FGVNXwcraAQSv8duxmvu/bcB3MfoiKmlkNrGXqGJ4Cg2g/kNRQMj/kseYNCDLfKeY4= | ||
# GOOGLE_CLIENT_ID | ||
- secure: eL98QzlGDfnX2y2kgPa9LN52kA2FevZmpD5KqghU0rMBm8lNO1/cHYQ6d8nsAI12MPi7ZAenOWppd525/SmUqoQgVOFVjahG4K1OKKHPf5XMrE/rkxgOOXhTTZsHsagecOV3GM8oR1IweOs7+/fWNArJXagDtq3k1/Ztd8V66cQ= | ||
# GOOGLE_CLIENT_SECRET | ||
- secure: kNTriQH573IT4ikQ4LoVV9f7HlxHctKKye/dNwivvqrMPR4JXV6NzBj19nTwWJfOreGCMaYNXcPusF+t+ySZ2HI0TszaxmYFID8MPQlaclut1RguZ9H1nu4U02shk+dGI6kv8wftswRDSyfDRHuiFRMSedgnh+rNYzx6BKJLCL0= |
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
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/sh | ||
sbt +publish |
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 +1,3 @@ | ||
# Play Authenticate sample Java application | ||
# Play Authenticate sample Java application | ||
|
||
By default there is only the UsernamePassword and the OpenID provider enabled, as all other providers need some additional settings that have to be acquired from the according service (Google, Facebook, etc.) - please check the `conf/play.plugins` file to enable more providers and add your data to `conf/play-authenticate/mine.conf`. |
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,15 +1,15 @@ | ||
1500:com.typesafe.plugin.CommonsMailerPlugin | ||
10000:be.objectify.deadbolt.java.DeadboltPlugin | ||
10005:service.MyUserServicePlugin | ||
10010:com.feth.play.module.pa.providers.oauth2.google.GoogleAuthProvider | ||
10020:com.feth.play.module.pa.providers.oauth2.facebook.FacebookAuthProvider | ||
10030:com.feth.play.module.pa.providers.oauth2.foursquare.FoursquareAuthProvider | ||
#10010:com.feth.play.module.pa.providers.oauth2.google.GoogleAuthProvider | ||
#10020:com.feth.play.module.pa.providers.oauth2.facebook.FacebookAuthProvider | ||
#10030:com.feth.play.module.pa.providers.oauth2.foursquare.FoursquareAuthProvider | ||
10040:providers.MyUsernamePasswordAuthProvider | ||
10050:com.feth.play.module.pa.providers.openid.OpenIdAuthProvider | ||
10060:com.feth.play.module.pa.providers.oauth1.twitter.TwitterAuthProvider | ||
10070:com.feth.play.module.pa.providers.oauth1.linkedin.LinkedinAuthProvider | ||
10080:com.feth.play.module.pa.providers.oauth2.vk.VkAuthProvider | ||
10090:com.feth.play.module.pa.providers.oauth1.xing.XingAuthProvider | ||
10100:com.feth.play.module.pa.providers.oauth2.untappd.UntappdAuthProvider | ||
10110:com.feth.play.module.pa.providers.oauth2.pocket.PocketAuthProvider | ||
10120:com.feth.play.module.pa.providers.oauth2.github.GithubAuthProvider | ||
#10060:com.feth.play.module.pa.providers.oauth1.twitter.TwitterAuthProvider | ||
#10070:com.feth.play.module.pa.providers.oauth1.linkedin.LinkedinAuthProvider | ||
#10080:com.feth.play.module.pa.providers.oauth2.vk.VkAuthProvider | ||
#10090:com.feth.play.module.pa.providers.oauth1.xing.XingAuthProvider | ||
#10100:com.feth.play.module.pa.providers.oauth2.untappd.UntappdAuthProvider | ||
#10110:com.feth.play.module.pa.providers.oauth2.pocket.PocketAuthProvider | ||
#10120:com.feth.play.module.pa.providers.oauth2.github.GithubAuthProvider |
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
Oops, something went wrong.