[GeoNode-users] Fwd: can't log into geoverser with the "geonode button"

Elisa Pruvot pruvotelisa at gmail.com
Fri Jun 9 08:17:59 PDT 2017


Merci beaucoup for your guidance !

I couldn't finish the instructions because i got this error when i try to
dump the master password to a file :

[image: Images intégrées 2]
but anyway I now can log into GeoServer the good way, thank you.


2017-06-09 16:30 GMT+02:00 Alessio Fabiani <alessio.fabiani at geo-solutions.it
>:

> Hi Elisa,
> please try to follow instructions here
>
> https://docs.google.com/document/d/1g_sD8NCzKRflkrbXZp0gqHmELG_
> B9hz8xCqKHaK-_O8/edit#bookmark=id.kb51dm9cqdlk
>
> most probably your oauth2 configuration on GeoServer still refers to the
> local address.
>
> Please, notice that the instructions are for Windows setup, but with some
> minor differences can be applied to ubuntu setup also.
>
>
> Best Regards,
> Alessio Fabiani.
>
> ==
>
> GeoServer Professional Services from the experts! Visit
> http://goo.gl/it488V for more information.
> ==
>
> Ing. Alessio Fabiani
> @alfa7691
> github <https://github.com/afabiani?tab=overview>
> Founder/Technical Lead
>
> GeoSolutions S.A.S.
> Via di Montramito 3/A
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313 <0584%20962313>
> fax:     +39 0584 1660272 <0584%20166%200272>
>
> 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.
> ---------------------------------------------------------------------
>
> On Fri, Jun 9, 2017 at 4:19 PM, Elisa Pruvot <pruvotelisa at gmail.com>
> wrote:
>
>> Thanks a lot for your quick and clear answer Alessio.
>> I did exactly what you wrote (indeed the geoserver proxy base url was not
>> up to date), but it still doesn't work.
>> Maybe it takes a little time to update ? I even restarted my computer
>> just in case.
>> But I still get the same error message and the same url :
>> http://192.168.1.23/o/authorize/?response_type=code&client_i
>> d=ue4aJt4AXIlXiiCs32OIVeMFNrQcGHsYRJgxj2Kn&scope=write&
>>
>> *redirect_uri=http://127.0.0.1/geoserver/ <http://127.0.0.1/geoserver/>*
>>
>> 2017-06-09 15:15 GMT+02:00 Alessio Fabiani <alessio.fabiani at geo-solutions
>> .it>:
>>
>>> Hi,
>>>
>>> you need to add the new GeoServer URL on allowed Redirect URIs from
>>> GeoNode Admin Dashboard
>>>
>>> [image: Inline image 1]
>>>
>>> --
>>>
>>> [image: Inline image 2]
>>>
>>> --
>>>
>>> [image: Inline image 3]
>>>
>>> And Save.
>>>
>>> Also, *make sure* GeoServer Proxy Base URL has been set to* http://192.168.1.23/geoserver
>>> <http://192.168.1.23/geoserver>*
>>>
>>>
>>> *[image: Inline image 6]*
>>>
>>> *--*
>>>
>>>
>>> *[image: Inline image 5]*
>>>
>>> And Save again.
>>>
>>>
>>>
>>> Best Regards,
>>> Alessio Fabiani.
>>>
>>> ==
>>>
>>> GeoServer Professional Services from the experts! Visit
>>> http://goo.gl/it488V for more information.
>>> ==
>>>
>>> Ing. Alessio Fabiani
>>> @alfa7691
>>> github <https://github.com/afabiani?tab=overview>
>>> Founder/Technical Lead
>>>
>>> GeoSolutions S.A.S.
>>> Via di Montramito 3/A
>>> 55054  Massarosa (LU)
>>> Italy
>>> phone: +39 0584 962313 <0584%20962313>
>>> fax:     +39 0584 1660272 <0584%20166%200272>
>>>
>>> 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.
>>> ---------------------------------------------------------------------
>>>
>>> On Fri, Jun 9, 2017 at 3:05 PM, Elisa Pruvot <pruvotelisa at gmail.com>
>>> wrote:
>>>
>>>> Hi all !
>>>>
>>>> Running GeoNode 2.6 installed with ppa on ubuntu 16.04.
>>>> I got a new little problem i'd like to share..
>>>>
>>>> So far I had no problem to log into GeoServer with the "geonode button"
>>>> on the left of the username and password fields.
>>>> But now that i've updated the ip (-> "sudo geonode-updateip
>>>> 192.168.1.23" to access geonode with others computers) it doesn't work
>>>> anymore.
>>>>
>>>> This is the error I get when i click on the "geonode button" to log in:
>>>> Error : invalid_request
>>>> Mismatching redirect URI
>>>>
>>>> and the url field is :
>>>>http://192.168.1.23/o/authorize/?response_type=code&client_
>>>> id=ue4aJt4AXIlXiiCs32OIVeMFNrQcGHsYRJgxj2Kn&scope=write&redi
>>>> rect_uri=http://127.0.0.1/geoserver/
>>>>
>>>> here is my local_settings file in case
>>>>
>>>> I can still log into GeoServer the "old" way, but i'm logged as "admin"
>>>> and not with my geonode username, like it did when logging in with that new
>>>> geonode button.
>>>>
>>>> Does anyone know what should i do to log into GeoServer with that
>>>> button ?
>>>> Thanks,
>>>> Elisa
>>>>
>>>>>>>>
>>>> --
>>>> Elisa Pruvot
>>>> M2 SIGAT
>>>>
>>>> _______________________________________________
>>>> geonode-users mailing list
>>>> geonode-users at lists.osgeo.org
>>>> https://lists.osgeo.org/mailman/listinfo/geonode-users
>>>>
>>>>
>>>
>>
>>
>> --
>> Elisa Pruvot
>> M2 SIGAT
>>
>>
>>
>> --
>> Elisa Pruvot
>> M2 SIGAT
>>
>> _______________________________________________
>> geonode-users mailing list
>> geonode-users at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/geonode-users
>>
>>
>


-- 
Elisa Pruvot
M2 SIGAT
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170609/4ec973c5/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 6772 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170609/4ec973c5/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 3743 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170609/4ec973c5/attachment-0007.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 16641 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170609/4ec973c5/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 5200 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170609/4ec973c5/attachment-0009.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 7714 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170609/4ec973c5/attachment-0010.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 6721 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170609/4ec973c5/attachment-0011.png>


More information about the geonode-users mailing list