Comments (6)
This exception gets thrown if you don't set the needed clientId for OAuth.
Have a look at the sample application here: https://github.com/joscha/play-authenticate/blob/master/samples/java/play-authenticate-usage/conf/play-authenticate/mine.conf#L87
You can register a clientId and secret for Google here: https://code.google.com/apis/console
from play-authenticate.
@joscha I tried entering a clientId, and commenting out the entire google section, as stated here. Both methods give me the same exception.
Preferably, I would rather not be forced to provide the clientId, as we will only be implementing the password provider. I will give it another shot, as maybe I missed something.
Thank you.
from play-authenticate.
By "commenting", you mean removing the leading # in front of clientId and clientSecret and adding your credentials behind the equal sign? Also your "here" link points to facebook - every Provider has its own credentials, so for using Google, you need to set them in the google section.
from play-authenticate.
O, wait, if you only need the password provider, you need to remove the other login providers from play.plugins: https://github.com/joscha/play-authenticate/blob/master/samples/java/play-authenticate-usage/conf/play.plugins (line 4 to 6 and 8)
You don't need to provide anything in the Google section at all then.
from play-authenticate.
@joscha Thank you! It seems you made an update to the file as I was composing my comment, which is why my "here" link was pointing to the incorrect lines. I will go back and give this a shot by modifying the play.plugins file.
from play-authenticate.
Yes, I added more hints in the comments :-)
from play-authenticate.
Related Issues (20)
- Play 2.6 support HOT 12
- Oauth2 Google Scope issue
- There is a problem with Login with LinkedIn
- UserServicePlugin registered multiple times during production HOT 3
- connection from mobile APP HOT 1
- "playeasymail" in from when receive mail HOT 1
- return Result in JSON from signup or login HOT 1
- Sign up does not send any email HOT 3
- How to sign up users on their behalf by another user HOT 1
- Conflicting cross'version
- Opposite of merging users?
- "Remember Me" functionality? HOT 13
- TOTP using Google Authenticator? HOT 2
- Redirect on other URL than index HOT 3
- Sample app not running HOT 1
- Basic provider route throws exception HOT 6
- Create SQL insert User (Admin ect)
- Change Password never persists because of lack of setters? HOT 1
- Play 2.7 support HOT 4
- Play 2.5 link is not working HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from play-authenticate.