I appreciate Nuno.
Sent from Mail for Windows 10
From: Nuno Oliveira
Sent: Thursday, July 6, 2017 4:16 PM
To: Steve Omondi; geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Oauth2-Google and Geofence Connection
Hi,
I juts make a test and indeed Google oauth2 seems to not be working at least in
GeoServer 2.12.x. (see attached GIF) and indeed no exception is logged.
The web UI integration seems to be a bit broke too:
The plugin google-oauth package is also including the github and geonode
bindings ... this is probably no intended.
I only used \ configured this authentication method once with GeoServer so
maybe I'm missing
something ... let's see if anyone can provide you a more valuable feedback.
Otherwise I will proceed with opening a bug report.
Note, I think that the person who wrote the google-oauth module will not be
available this week and next week.
Regards,
Nuno Oliveira
On 07/06/2017 10:49 AM, Steve Omondi wrote:
Hi Nuno,
Attached is my Log file after raising to DEBUG Level
I has some interesting stuff, but I can’t figure out where the problem is
raised.
For example. There is a point where Geoserver is looking for Geonode Session ID
Line 152: (and several other points)
2017-07-06 12:07:35,099 DEBUG [web.FilterChainProxy] - /web/ at position 2 of 7
in additional filter chain; firing Filter: 'GoogleOAuthAuthenticationFilter'
2017-07-06 12:07:35,099 DEBUG [geoserver.security] - Inspecting the http
request looking for the GeoNode Session ID.
2017-07-06 12:07:35,099 DEBUG [geoserver.security] - Found 1 cookies!
What has this got to do with google-oauth2. I I’m not using geonode-oauth2 even
though it was installed together with google-oauth2.
I’m using Geoserver 2.11.1 with
geoserver-2.11-SNAPSHOT-sec-oauth2-google-plugin which had both geonode-oauth2
and GitHub-oauth2 bundled with it.
Kindly assist where possible.
Kind Regards,
Steve Omondi
Ramani Geosystems.
-----------------------------------------
Sent from Mail for Windows 10
From: Nuno Oliveira
Sent: Thursday, July 6, 2017 11:35 AM
To: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Oauth2-Google and Geofence Connection
Hi,
GeoFence is not required, google-oauth module should work on is own.
I don't know much of the google-oauth module ... did you see any
exception on GeoServer logs ?
You change GeoServer logging level on the Global Settings:
http://docs.geoserver.org/latest/en/user/configuration/globalsettings.html#logging-profile
and view the logs in the GeoServer Logs menu entry on the left of GeoServer web
UI.
Regards,
Nuno Oliveira
On 07/06/2017 08:20 AM, Steve Omondi wrote:
Hey Guys,
Does Enabling authentication using OAuth2 Google Extension for Geoserver
require Geofence whatsoevcer?
I have installed the google-oauth2 extension and configured according to the
provided docs however I’m not getting the desired behavior. While Geoserver is
register under connected apps in my Google Account when I login to Geoserver
with the my Google account, the google account is not added in Geoserver and
the login does not happen.
Sent from Mail for Windows 10
Virus-free. www.avast.com
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
Please make sure you read the following two resources before posting to this
list:
- Earning your support instead of buying it, but Ian Turton:
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines:
http://geoserver.org/comm/userlist-guidelines.html
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Regards,
Nuno Oliveira
==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V
for more information.
==
Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer
GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i
file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo
è consentito esclusivamente al destinatario del messaggio, per le finalità
indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne
il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di
procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro
sistema. Conservare il messaggio stesso, divulgarlo anche in parte,
distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse,
costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.
The information in this message and/or attachments, is intended solely for the
attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act (Legislative
Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in
accord with its purpose, any disclosure, reproduction, copying, distribution,
or either dissemination, either whole or partial, is strictly forbidden except
previous formal approval of the named addressee(s). If you are not the intended
recipient, please contact immediately the sender by telephone, fax or e-mail
and delete the information in this message that has been received in error. The
sender does not give any warranty or accept liability as the content, accuracy
or completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of e-mail
transmission, viruses, etc.
--
Regards,
Nuno Oliveira
==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V
for more information.
==
Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer
GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i
file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo
è consentito esclusivamente al destinatario del messaggio, per le finalità
indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne
il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di
procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro
sistema. Conservare il messaggio stesso, divulgarlo anche in parte,
distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse,
costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.
The information in this message and/or attachments, is intended solely for the
attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act (Legislative
Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in
accord with its purpose, any disclosure, reproduction, copying, distribution,
or either dissemination, either whole or partial, is strictly forbidden except
previous formal approval of the named addressee(s). If you are not the intended
recipient, please contact immediately the sender by telephone, fax or e-mail
and delete the information in this message that has been received in error. The
sender does not give any warranty or accept liability as the content, accuracy
or completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of e-mail
transmission, viruses, etc.
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
Please make sure you read the following two resources before posting to this
list:
- Earning your support instead of buying it, but Ian Turton:
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines:
http://geoserver.org/comm/userlist-guidelines.html
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users