Bug #1344
closed"Auth::GoogleService: not configured: OAuth: no 'google-oauth2-redirect-endpoint' property configured"
0%
Description
I am getting the following error when I am trying to us the auth example code in my application. -
"Auth::GoogleService: not configured: OAuth: no 'google-oauth2-redirect-endpoint' property configured"
Any pointer?
Thanks
Updated by navnidhi sharma over 12 years ago
Additionally, is there any easy way to switch to Linux auth (user/password) or database auth (user/password)? I would prefer these in case the google auth is tedious.
Thanks
Updated by Koen Deforche over 12 years ago
- Status changed from New to Resolved
- Assignee set to Koen Deforche
Hey,
For the error, this page (http://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1Auth_1_1GoogleService.html) explains how to configure the google service properly.
Surely, you can use password-based auth, by providing a PasswordService ---- see the feature/auth example on how to setup Auth to use username/password stored in a database or google auth. Linux auth hasn't been implemented yet, it is probably less of a priority since other systems (LDAP) are more common (in a Windows-dominated corporate world).
Regards,
koen
Updated by Koen Deforche over 12 years ago
- Status changed from Resolved to Closed
- Target version set to 3.2.2
Released in Wt 3.2.2