Angelo Oparah
Angelo Oparah

Reputation: 673

I have an issue with authorization tokens on openshift

I am developing a web app on openshift. Today I got this error when I did a port forwarding command:

"Your authorization token has expired. Please sign in now to continue on openshift.redhat.com. Password:"

When I enter my openshift password nothing happens. does anyone know what's going on?

Upvotes: 2

Views: 1553

Answers (4)

IanS
IanS

Reputation: 1604

When I enter my openshift password nothing happens

I had this issue too.

Rather than waiting for the password prompt, send your password when you run the rhc command, like this:

rhc apps -p {password}

Upvotes: 0

SaaP
SaaP

Reputation: 11

If you are using the git-bash, rhc commands are currently behaving oddly. Open git-cmd, run:

rhc ssh -a gear

from there, and once you have logged in with a password, voila, you have a new token.

You can also do most of this by adding a new authorization token from the web console, and then adding it to git with :

rhc apps --token new-token

Upvotes: 1

Максим Кмец
Максим Кмец

Reputation: 101

I had such problem when I have tried to execute commands through git bash console. Try a common console!

Upvotes: 3

Angelo Oparah
Angelo Oparah

Reputation: 673

Ok, I'll try reinstalling the whole thing eventually, I remember having issues during the installation, maybe that'll fix everything. Thank you mate. I tried to upvote your comment but it doesn't work: I appreciated your help though.

Upvotes: 0

Related Questions