Tarun Maganti
Tarun Maganti

Reputation: 3086

How to set or remove ngrok authentication request?

I have set up ngrok and ran it by pointing it towards nothing. But when I make a request to the link provided by ngrok, I am being asked for authentication.

I tried my username and password of computer, of the ID I registered ngrok with and both of them didn't work.

I couldn't find any proper information as to how to deal with this on their official docs. Client API Ngrox authentication isn't helpful.

Upvotes: 5

Views: 12450

Answers (2)

keithl8041
keithl8041

Reputation: 2413

ngrok authtoken "" worked for me. Otherwise find your ngrok.yml file and just remove it manually.

Linux: "~/.config/ngrok/ngrok.yml"
MacOS (Darwin): "~/Library/Application Support/ngrok/ngrok.yml"
Windows: "%HOMEPATH%\AppData\Local\ngrok\ngrok.yml"

Upvotes: 4

K. Kuksin
K. Kuksin

Reputation: 41

  1. Log in to ngrok dashboard
  2. Get the console commands from there - check attached screenshot
  3. There is also an option to revoke the auth token directly from the dashboard.

Upvotes: 3

Related Questions