<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<div style="color: rgb(33, 33, 33); background-color: rgb(255, 255, 255); text-align: left;" dir="auto">
<span style="font-family: Calibri, sans-serif; font-size: 11pt;">Good day geonode users,</span><br>
</div>
<div id="id-ae3f0e4f-e95a-4174-a232-131e6429499a" class="ms-outlook-mobile-reference-message" dir="auto" style="text-align: left;">
<div class="WordSection1" dir="auto" style="text-align: left;">
<p class="MsoNormal"> </p>
<p class="MsoNormal">I am trying to restore my geonode instance on a different machine but I have a problem with the authentication between geonode and geoserver. I am using geonode project 2.10.1 and geoserver 2.15.2 on a Ubuntu 18.04 machine.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">First, I install geonode and geoserver. At that point, everything is working fine; I can connect to geoserver from my geonode admin account. Then I restore the geoserver data by replacing the geoserver_data directory. Everything is still
working fine at that point. The problem occurs when I restore the geonode data; I can no longer login to geoserver from my geonode account. I have this message in the geoserver log:</p>
<p class="MsoNormal">2020-03-11 17:23:24,700 WARN [geoserver.security] - Error while trying to authenticate to OAuth2 Provider with the following Exception cause:</p>
<p class="MsoNormal">error="access_denied", error_description="Error requesting access token."</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Strangely, I still have access to my data on geonode, I can consult them and display them on a map.
</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Anybody got any ideas?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Cheers!</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Maxime</p>
<p class="MsoNormal"> </p>
</div>
</div>
<style>
<!--
@font-face
{font-family:"Cambria Math"}
@font-face
{font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif}
a:link, span.MsoHyperlink
{color:#0563C1;
text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
{color:#954F72;
text-decoration:underline}
span.EmailStyle17
{font-family:"Calibri",sans-serif;
color:windowtext}
.MsoChpDefault
{}
@page WordSection1
{margin:72.0pt 72.0pt 72.0pt 72.0pt}
div.WordSection1
{}
-->
</style>
</body>
</html>