jetbrains - How to set 'Redirect URIs' in the service settings in Hub -
i can access upsource locally using http://pcname:42424/projectname/view
.
trying access using ip eg. http://192.168.1.42:42424/projectname/view
yields
oauth 2.0 error
unauthorized_client: unregistered redirect uri. client service 'upsource' requests authorization entity uri not registered in hub: http://192.168.3.143:42424/. if have hub administrator permissions , suspicious uri belong 'upsource', please add uri list of 'redirect uris' in service settings in hub
with link https://www.jetbrains.com/help/hub/2.0/oauth-2.0-errors.html#auth.unauthorized_client
i not find how set redirecturi
though in upsource (went through maybe of settings pages).
where can find redirecturi
setting can add ip it?
update
i set instance on different box , set url , port http://192.168.1.42:42424
, works accessed remotely using ip.
for reason redirect uri settings area hidden in hub if you're administrator. searching else in jetbrains knowledge base , came across this page led me try add /services
end of hub url in browser:
which brings me wonderous page bunch of configuration options can't access through administration ui:
fwiw: trying configure upsource accessed through reverse proxy on port 80, instead of default 8080. moved upsource configuration 1 server , read documentation jetbrains on subject wasn't working.
my mistake: didn't stop upsource before running
<upsource_home>\bin\upsource.sh configure --listen-port 1111 --base-url http://upsource.mydomain.com:2222
and upsource didn't warn me command wasn't doing anything. message "upsource running". stopped upsource, applied change , restarted , worked. should've known didn't.
hope helps someone.
Comments
Post a Comment