# Https://go.athom.com/cli-login goes to www.npmjs.com!?

**URL:** <https://community.homey.app/t/https-go-athom-com-cli-login-goes-to-www-npmjs-com/3619>\
**Category:** Developers\
**Created:** [November 3, 2018, 1:23pm UTC](https://community.homey.app/t/https-go-athom-com-cli-login-goes-to-www-npmjs-com/3619 "2018-11-03T13:23:45Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![arnizzle](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arnizzle/32/9485_2.png) [@arnizzle](https://community.homey.app/u/arnizzle)\
**Post date:** [November 3, 2018, 1:23pm UTC](https://community.homey.app/t/https-go-athom-com-cli-login-goes-to-www-npmjs-com/3619/1 "2018-11-03T13:23:45Z")

</div>

For some reason I get redirected to [www.npmjs.com](http://www.npmjs.com). Tried 3 different browsers. DNS issue on my side or some kind of other issue?

Cheers

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [November 3, 2018, 1:39pm UTC](https://community.homey.app/t/https-go-athom-com-cli-login-goes-to-www-npmjs-com/3619/2 "2018-11-03T13:39:05Z")

</div>

It’s explicitly redirecting there:

```auto
HTTP/1.1 302 Moved Temporarily
Connection: keep-alive
Content-Length: 162
Content-Type: text/html
Date: Sat, 03 Nov 2018 13:36:46 GMT
Location: https://www.npmjs.com/package/athom-cli
Server: nginx/1.10.2

```

The current CLI tool uses `https://cli.athom.com`. No idea why Athom isn’t redirecting there, or show a warning page that people should update `athom-cli`.

---

<div class="post-metadata">

**Author:** ![arnizzle](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arnizzle/32/9485_2.png) [@arnizzle](https://community.homey.app/u/arnizzle)\
**Post date:** [November 3, 2018, 1:51pm UTC](https://community.homey.app/t/https-go-athom-com-cli-login-goes-to-www-npmjs-com/3619/3 "2018-11-03T13:51:17Z")

</div>

I’ve poked around a little and found the [cli.athom.com](http://cli.athom.com) site. Unfortunately I get an error message after clicking my username…

{“code”:400,“error”:“invalid\_request”,“error\_description”:{“client\_id”:“Invalid value”}}

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [November 3, 2018, 1:52pm UTC](https://community.homey.app/t/https-go-athom-com-cli-login-goes-to-www-npmjs-com/3619/4 "2018-11-03T13:52:34Z")

</div>

What are you trying to do, exactly?

---

<div class="post-metadata">

**Author:** ![arnizzle](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arnizzle/32/9485_2.png) [@arnizzle](https://community.homey.app/u/arnizzle)\
**Post date:** [November 3, 2018, 1:55pm UTC](https://community.homey.app/t/https-go-athom-com-cli-login-goes-to-www-npmjs-com/3619/5 "2018-11-03T13:55:10Z")

</div>

Never mind. Updated athom and spawns the correct page in my browsers.

Thanks for the help! Very clumsy work from Athom…

---

<div class="post-metadata">

**Author:** ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)\
**Post date:** [November 5, 2018, 9:54pm UTC](https://community.homey.app/t/https-go-athom-com-cli-login-goes-to-www-npmjs-com/3619/6 "2018-11-05T21:54:13Z")

</div>

Guess it had to do with this:

> [@"Athom login" Need to be fixed ;)](https://community.homey.app/t/athom-login-need-to-be-fixed/3330/13):
>
> @ChrisG Guess this fixes your Issue: weejewel [5:47 PM] #developers FYI I’ve added a fallback for athom-cli users who do not share their browser and CLI on the same machine [image] [image]

Updating Athom-CLI should do it.

> Run `> npm i -g athom-cli` to update
