dmsl/anyplace

Login to local server running executable

Opened this issue · 9 comments

We downloaded the new 3.4 version and ran executable on UBUNTU headless server but when we try and log into Architect get the following error:

Permission denied to generate login hint for target domain.

Request Details
redirect_uri=storagerelay://http/###.###.###.###:9000?id=auth941197
response_type=code permission id_token
scope=openid profile email
openid.realm=
client_id=587500723971-si8s4qqat9v5efgemnebihpi3qe9onlp.apps.googleusercontent.com
ss_domain=http://###.###.###.###:9000
access_type=offline
include_granted_scopes=true
prompt=consent
origin=http://###.###.###.###:9000
gsiwebsdk=2
That’s all we know.

Did you setup the project on google console and replace the google api key?

no where are those instructions?

You can find all the necessary information about integrating Google Sign-In here. As stated in Google's documentation you need to have your app's client ID in the index.html.

Thanks,
C.

Thank you, I was able to create and changed the key located in the architect index.html file shown below and it gives me the login selection and once I select a user it just returns to the login button is there something else that need to be changed?

TT911 commented

Anyone can help? I have same trouble too.
I'm set URI redirection to http://localhost:9000/architect/
Login button works well. After login to gmail account just returns to the login button.

Solve.
Put in URI
http://localhost:9000/public/anyplace_architect/

Same issue deploying the binary version anyplace_v3-4.0.
There is no server/public/anyplace_architect/index.html file in this binary release.
In which configuration file can I set this Oauth google client ID (It seems that the client ID is hardcoded) ?
It would be better to add it as a parameter in the application.conf file.

Sorry... I can't locate the index.html file on the server. Where is it?

Hello. Any one have idea?