<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">+1 nice plan<div><br><div><div>Il giorno 20/nov/2017, alle ore 09:49, Alessio Fabiani <<a href="mailto:alessio.fabiani@geo-solutions.it">alessio.fabiani@geo-solutions.it</a>> ha scritto:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">+1 here. Also in the past there were a lot of interest already in having GeoNode capable of log-int through external OAuth2 services, thus acting as OAuth2 client other than OAuth2 provider as you mentioned above.</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-size:12.8px"><span><div style="line-height: 1.38; margin-top: 0pt; margin-bottom: 0pt;"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Regards,</span></div><div style="line-height: 1.38; margin-top: 0pt; margin-bottom: 0pt;"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Alessio Fabiani</span></div><div style="line-height: 1.38; margin-top: 0pt; margin-bottom: 0pt;"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">==</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">GeoServer Professional Services from the experts! Visit <a href="http://goo.gl/it488V" target="_blank">http://goo.gl/it488V</a> for more information.</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">==</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Ing. Alessio Fabiani</span></div><div style="line-height: 1.38; margin-top: 0pt; margin-bottom: 0pt;"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">@alfa7691</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Founder/Technical Lead</span></div><div style="line-height: 1.38; margin-top: 0pt; margin-bottom: 0pt;"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">GeoSolutions S.A.S.</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Via di Montramito 3/A</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">55054 Massarosa (LU)</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Italy</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">phone: +39 0584 962313</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">fax: +39 0584 1660272</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">mob: +39 331 6233686</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><a href="http://www.geo-solutions.it/" target="_blank">http://www.geo-solutions.it</a></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><a href="http://twitter.com/geosolutions_it" target="_blank">http://twitter.com/geosolutions_it</a></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">-------------------------------------------------------</span></div><div style="line-height: 1.38; margin-top: 0pt; margin-bottom: 0pt;"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">AVVERTENZE AI SENSI DEL D.Lgs. 196/2003</span></div><div style="line-height: 1.38; margin-top: 0pt; margin-bottom: 0pt;"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">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.</span></div><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"> </span></p><div style="line-height: 1.38; margin-top: 0pt; margin-bottom: 0pt;"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">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.</span></div></span></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Fri, Nov 17, 2017 at 5:38 PM, Ricardo Garcia Silva <span dir="ltr"><<a href="mailto:ricardo.silva@geo-solutions.it" target="_blank">ricardo.silva@geo-solutions.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello all, and sorry for this long post ;)<br>
<br>
TL; DR - We want to add Oauth2 client support to geonode and are interested in feedback from the community. This will involve retiring the geonode-user-accounts project though.<br>
<br>
<br>
I'm currently working on a geonode-related project where there is a requirement to offer users the ability to login by connecting with their linkedin and facebook accounts. In order to make this possible we are integrating Oauth2 client support in geonode.<br>
<br>
This seems like a nice addition to geonode and we are interested in contributing it back to official geonode.<br>
<br>
<br>
The current implementation plan consists in integrating the django-allauth[1] project with geonode. This is a django app that implements a complete authentication solution for django projects.<br>
It manages both local and remote (social account) authentication flows and provides lots of interesting features that are common when dealing with user authentication, such as signup/register/verify email/reset password etc.<br>
It also comes with baked in support for 20+ remote social account providers, including linkedin, facebook, google and most well known sites.<br>
<br>
geonode is currently managing its auth-related features by using the geonode-user-accounts[2] project, which is a fork of pinax/django-user-accounts, under geonode's umbrella.<br>
It provides already most auth flows described above. However, it lacks integration with social accounts.<br>
django-allauth, on the other hand, provides a unified solution to both local and remote authentication flows. As such we're planning to retire the geonode-user-accounts project, by replacing it with django-allauth plus some custom stuff. The goal is to keep all current features and enhance them with remote auth support.<br>
<br>
There seem to be two interesting features that geonode-user-accounts offers that do not currently exist in django-allauth:<br>
<br>
1) Send invitations to get new users to join a geonode instance - We're hoping to also bring integration for the django-invitations[3] app in order to cover this.<br>
2) Approve/reject a new user's registration - the plan here is to port this functionality from geonode-user-accounts to geonode core, by making use of the extensibility features of django-allauth<br>
<br>
<br>
We're interested in getting feedback from geonode's developer community, in order to verify if:<br>
<br>
- This feature is deemed useful and there is interest in having it in core geonode;<br>
- Maybe someone has already some experience implementing Oauth clients with geonode and/or using django-allauth?<br>
- Does the current plan sound reasonable, even if it means replacing geonode-user-accounts?<br>
<br>
<br>
Biggest advantages seem to be:<br>
<br>
- geonode becomes easier to use by new users, who can reuse their already existing social accounts in order to gain access to the platform;<br>
- retiring geonode-user-accounts means a lower maintenance burden on geonode devs, since there is less code to oversee;<br>
- both django-allauth and django-notifications seem like healthy projects with clean code and good test coverage<br>
<br>
<br>
We should have an initial implementation to PR by next week. Regardless, we're interested in getting some community feedback ;)<br>
<br>
<br>
Best regards<br>
<br>
<br>
[1] - <a href="https://www.intenct.nl/projects/django-allauth/" rel="noreferrer" target="_blank">https://www.intenct.nl/project<wbr>s/django-allauth/</a><br>
[2] - <a href="https://github.com/GeoNode/geonode-user-accounts" rel="noreferrer" target="_blank">https://github.com/GeoNode/geo<wbr>node-user-accounts</a><br>
[3] - <a href="https://github.com/bee-keeper/django-invitations" rel="noreferrer" target="_blank">https://github.com/bee-keeper/<wbr>django-invitations</a><br>
<br>
<br>
-- <br>
Regards,<br>
Ricardo Silva<br>
==<br>
GeoServer Professional Services from the experts!<br>
Visit <a href="http://goo.gl/it488V" rel="noreferrer" target="_blank">http://goo.gl/it488V</a> for more information.<br>
==<br>
Ricardo Silva<br>
Senior Software Engineer<br>
<br>
GeoSolutions S.A.S.<br>
Via di Montramito 3/A<br>
55054 Massarosa (LU)<br>
Italy<br>
phone: <a href="tel:%2B39%200584%20962313" value="+390584962313" target="_blank">+39 0584 962313</a><br>
fax: <a href="tel:%2B39%200584%201660272" value="+3905841660272" target="_blank">+39 0584 1660272</a><br>
<br>
<a href="http://www.geo-solutions.it/" rel="noreferrer" target="_blank">http://www.geo-solutions.it</a><br>
<a href="http://twitter.com/geosolutions_it" rel="noreferrer" target="_blank">http://twitter.com/geosolution<wbr>s_it</a><br>
<br>
------------------------------<wbr>-------------------------<br>
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003<br>
Le informazioni contenute in questo messaggio di posta elettronica e/o<br>
nel/i file/s allegato/i sono da considerarsi strettamente riservate.<br>
Il loro utilizzo è consentito esclusivamente al destinatario del<br>
messaggio, per le finalità indicate nel messaggio stesso. Qualora<br>
riceviate questo messaggio senza esserne il destinatario, Vi preghiamo<br>
cortesemente di darcene notizia via e-mail e di procedere alla<br>
distruzione del messaggio stesso, cancellandolo dal Vostro sistema.<br>
Conservare il messaggio stesso, divulgarlo anche in parte,<br>
distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità<br>
diverse, costituisce comportamento contrario ai principi dettati dal<br>
D.Lgs. 196/2003.<br>
<br>
The information in this message and/or attachments, is intended solely<br>
for the attention and use of the named addressee(s) and may be<br>
confidential or proprietary in nature or covered by the provisions of<br>
privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New<br>
Data Protection Code). Any use not in accord with its purpose, any<br>
disclosure, reproduction, copying, distribution, or either<br>
dissemination, either whole or partial, is strictly forbidden except<br>
previous formal approval of the named addressee(s). If you are not the<br>
intended recipient, please contact immediately the sender by<br>
telephone, fax or e-mail and delete the information in this message<br>
that has been received in error. The sender does not give any warranty<br>
or accept liability as the content, accuracy or completeness of sent<br>
messages and accepts no responsibility for changes made after they<br>
were sent or for other risks which arise as a result of e-mail<br>
transmission, viruses, etc.<br>
<br>
______________________________<wbr>_________________<br>
geonode-devel mailing list<br>
<a href="mailto:geonode-devel@lists.osgeo.org" target="_blank">geonode-devel@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-devel" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/geonode-devel</a><br>
</blockquote></div><br></div>
_______________________________________________<br>geonode-devel mailing list<br><a href="mailto:geonode-devel@lists.osgeo.org">geonode-devel@lists.osgeo.org</a><br>https://lists.osgeo.org/mailman/listinfo/geonode-devel<br></blockquote></div><br></div></body></html>