Fixed ! I need to append my new url https://registry-console.example.com in redirectURIs in oauthclient/cockpit-oauth-client OpenShift object:
$ oc export oauthclient/cockpit-oauth-client > foobar.yaml Append https://registry-console.example.com like that in foobar.yaml apiVersion: v1 kind: OAuthClient metadata: annotations: openshift.io/generated-by: OpenShiftNewApp creationTimestamp: null labels: app: registry-console createdBy: registry-console-template name: cockpit-oauth-client redirectURIs: - https://registry-console-default.router.default.svc.cluster.local - https://registry-console.example.com secret: ........ $ oc apply -f foobar.yaml Best regards, Stéphane 2016-11-28 9:15 GMT+01:00 Stéphane Klein <[email protected]>: > $ oc get oauthclient > NAME SECRET > WWW-CHALLENGE REDIRECT URIS > kibana-proxy .... FALSE > https://kibana.example.com,https://kibana-ops.example.com > openshift-browser-client ... FALSE > https://console.example.com:443/oauth/token/display,https: > //cluster.example.com:443/oauth/token/display > openshift-challenging-client ... TRUE > https://console.example.com:443/oauth/token/implicit > openshift-web-console ... FALSE > https://console.example.com:443/console/,http://localhost: > 9000,https://localhost:9000,https://cluster.example.com:443/console/ > > https://registry-console.example.com isn't in the list. > > Why registry console isn't in this list ? > > Best regards, > Stéphane > > > 2016-11-25 16:06 GMT+01:00 Luis Fernandez Alvarez < > [email protected]>: > >> Hi, >> >> Take a look to the oauth clients, do they match the URIs you're setting? >> >> $ oc get oauthclient >> NAME SECRET >> WWW-CHALLENGE REDIRECT URIS >> ... >> >> Cheers, >> >> Luis >> >> On 11/25/2016 10:18 AM, Stéphane Klein wrote: >> >> Hi, >> >> In OpenShift 1.3.1, I have configured this route: >> >> * https://registry-console.example.com => registry-console >> >> When I try to connect to https://registry-console.example.com I have >> this errors: >> >> * in browser: >> >> {"error":"invalid_request","error_description":"The request is missing a >> required parameter, includes an invalid parameter value, includes a >> parameter more than once, or is otherwise malformed."} >> >> * in origin-master log: >> >> osinserver.go:99] internal error: urls don't validate: >> https://registry-console-default.router.default.svc.cluster.local / >> https://registry-console.example.com/ >> >> I have appended https://registry-console.example.com/ >> to corsAllowedOrigins field in /etc/origin/master/master-config.yaml >> config file. >> >> Where is my error? I have forgotten something? >> >> Best regards, >> Stéphane >> -- >> Stéphane Klein <[email protected]> >> blog: http://stephane-klein.info >> cv : http://cv.stephane-klein.info >> Twitter: http://twitter.com/klein_stephane >> >> >> _______________________________________________ >> users mailing >> [email protected]http://lists.openshift.redhat.com/openshiftmm/listinfo/users >> >> >> >> _______________________________________________ >> users mailing list >> [email protected] >> http://lists.openshift.redhat.com/openshiftmm/listinfo/users >> >> > > > -- > Stéphane Klein <[email protected]> > blog: http://stephane-klein.info > cv : http://cv.stephane-klein.info > Twitter: http://twitter.com/klein_stephane > -- Stéphane Klein <[email protected]> blog: http://stephane-klein.info cv : http://cv.stephane-klein.info Twitter: http://twitter.com/klein_stephane
_______________________________________________ users mailing list [email protected] http://lists.openshift.redhat.com/openshiftmm/listinfo/users
