What server URL should be used for the `oc login` command when using OpenShift's PaaS? : <p>What do I provide for the server URL in the <code>oc login</code> tool, when using the OpenShift PaaS?</p>

<p>I'm trying to migrate my OpenShift Online v2 app to v3, following <a href="https://docs.openshift.com/online/dev_guide/migrating_applications/web_framework_applications.html#dev-guide-migrating-web-framework-applications-php" rel="noreferrer">the instructions for PHP apps linked to from OpenShift's Migration Center</a>. That page says to run something following the pattern <code>oc new-app https://github.com/&lt;github-id&gt;/&lt;repo-name&gt;.git --name=&lt;app-name&gt; -e &lt;ENV_VAR_NAME&gt;=&lt;env_var_value&gt;</code>. After tracking down a download for oc (which wasn't easy), I tried running that command with my repo URL*; this results in:</p>

<pre><code>$ oc new-app https://USERNAME@bitbucket.org/USERNAME/PROJECTNAME.git --name=PROJECTNAME
error: Missing or incomplete configuration info.  Please login or point to an existing, complete config file:

  1. Via the command-line flag --config
  2. Via the KUBECONFIG environment variable
  3. In your home directory as ~/.kube/config

To view or setup config directly use the 'config' command.
</code></pre>

<p>Not knowing what subcommand of <code>oc config</code> to use, I searched and found <a href="https://docs.openshift.com/online/cli_reference/get_started_cli.html" rel="noreferrer">Get Started with the CLI</a>, which says to use <code>oc login</code> to start the configuration process. But when I run that, I get:</p>

<pre><code>Server [https://localhost:8443]:
</code></pre>

<p>What do I provide for the URL here, when using the OpenShift PaaS (i.e. not a local installation)? I've tried things like <code>https://openshift.com/</code> and the URL of my web app, but both of them result in</p>

<pre><code>error: The server was unable to respond - verify you have provided the correct host and port and that the server is currently running.
</code></pre>

<p>* I decided to use Bitbucket instead of GitHub; I'm not sure if this is unsupported, or (if it's supported) whether I should be providing <code>USERNAME@bitbucket.org</code>.</p>
