Hi @MartenHogeweg, @Marten,
I am trying to integrate our fresh Geoportal deployment with our 10.9.1 ArcGIS Portal for authentication.
I have deployed catalog to one server and harvester to another server. I have also followed along with the documentation for configuring ArcGIS authentication.
Everything works up until the point geoportal server attempts to get a token from portal. Then I get a 401 Unauthorized error.
Checking Chrome devtools I see that the client ID/appid that geoportal is passing to Portal is not the same as what I configured in authentication-arcgis.xml:
From Portal:
It is hardcoded to "geoportal-client":
I did a quick search for this string in files in notepad++ and found it referenced in two files that are undocumented in the github installation instructions:
AppClient.js:
app-oauth.xml:
Can you please confirm if the clientid needs to be updated in these files for authentication to succeed? Or if there are any other settings that need to be changed?
Thanks in advance,
Marc
hi Marc,
some thoughts on using ArcGIS authentication in Geoportal Server:
It looks like you commented out the client-id="geoportal-client" oauth:client element. Can you test reactivating that?
Marten
@Marc_Graham were you able to solve the authentication issue with the client-id="geoportal-client" commented out?
I was having the same error message when signing in however the suggestion from @Marten did not work for me.