How to add ngrok auth token?


  • | 147 points

    Hello, I wanted to use my ngrok account but the problem is, ngrok is not reading the config file and when trying to use example.test domain from normal cmd it's exploring all the laragon base folder.
    Please help.
    Problem:-

    1. Add ngrok authtoken for laragon>www>share
    2. How to share my local named domain? If sharing example.test it is sharing the whole laragon base folder, which I don't want.

  • | 147 points

    I am able to add (C:\laragon\bin\ngrok\conf\example.yml) authtoken:asdfsdfasdfasdfxxxx in the first line, and it is successfully getting my account details but. it's not the solution or fixes.


  • | 58 points

    Hi, I was searching the same. I tried running the command "ngrok authtoken ..." from Laragon Terminal, but then when executing ngrok via "Share" function the authtoken is ignored. So what @debjit has found seems a sort of solution.


  • | 144 points

    I took from here
    https://dashboard.ngrok.com/get-started/your-authtoken

    In the laragon terminal run:

    ngrok authtoken 1uI62pPOlk5qUm47ZZlr2riXxkf_2FbxZxaM57gyr68fbSJX9

    Result:
    Authtoken saved to configuration file: %userprofile/.ngrok2/ngrok.yml

    You can change the file directly in the folder

    and add a line
    authtoken: 1uI62pPOlk5qUm47ZZlr2riXxkf_2FbxZxaM57gyr68fbSJX9

    it's a random token


  • | 45 points

    This post is deleted!

Log in to reply
 

Looks like your connection to Laragon was lost, please wait while we try to reconnect.