TTN account server?

Following the instructions for configuring “The Things Gateway” at https://www.thethingsindustries.com/docs/gateways/thethingskickstartergateway/, I have come to the “Account Server” field. The instructions have a link to a “Server Addresses” page, which in turn has links to other pages depending upon which network one is connecting to - in my case I am following the “Community edition addresses” link as I am using TTN. However, that page does not identify an “Account server” URL per se. It does have a section titled “Account and OAuth”, but the URL shown there (https://eu1.cloud.thethings.network/oauth) bears no relation to the default URL in the field on the gateway (https://account.thethingsnetwork.org/), so I am uncertain as to which is correct.

Googling I did find a page discussing this default URL, and from the page’s context this appeared to relate to the V2 account server and supposedly this is now out of date, but following the link for the Things Stack V3 documentation brought me back to the documentation that I was following to begin with. I am therefore none the wiser as to whether the old URL has been replaced by the “Account and OAuth” one or not?

1 Like

So the address should be the root HTTP path of the cluster to which you are connecting. So something like: https://eu1.cloud.thethings.network/
I’ll add a note to the docs

1 Like

Super - thanks Krishnalyer. :slight_smile:

I recently set up a TTKG gateway and struggled for a couple of days until I found this thread.

I copied the account server from the console/gateway web page:

image

It copied without https:// - so I pasted what was copied (nam1.cloud.thethings.network). No registration, and no details why it failed.

As soon as I used https://nam1.cloud.thethings.network as the account server, it registered right away.

I would suggest changing the console to add https:// when copying the account server, or add some text explaining you need to add https://

Thanks!

1 Like

The best way to get this done is to add an issue to GitHub - the forum is not tracked for suggestions & changes.

Good observation. I’ll document this.

1 Like