-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add localhost:9000 as a default redirect URL
Fixes: #10885 This patch adds `https://localhost:9000` as a default redirect URI to the webconsole oauthclient. This is done as a new `oc cluster up` startup task. ``` $ oc cluster up ... -- Finding server IP ... Using <IP> as the server IP -- Starting OpenShift container ... Creating initial OpenShift configuration Starting OpenShift using container 'origin' Waiting for API server to start listening OpenShift server started -- Adding default oAuthClient redirect URIs ... "openshift-web-console" patched -- Installing registry ... OK -- Installing router ... OK -- Importing image streams ... OK -- Importing templates ... OK -- Login to server ... OK -- Creating initial project "myproject" ... OK ... ``` ``` $ oc login -u system:admin $ oc get oauthclients NAME WWW-CHALLENGE REDIRECT URIS openshift-web-console FALSE https://localhost:9000 ```
- Loading branch information
1 parent
342f49c
commit 2367bcb
Showing
3 changed files
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters