# Login screen code running on IBM Cloud does not work on Raspbian

**URL:** https://discourse.nodered.org/t/login-screen-code-running-on-ibm-cloud-does-not-work-on-raspbian/45223
**Category:** General
**Created:** [5 May 2021 13:44 UTC](https://discourse.nodered.org/t/login-screen-code-running-on-ibm-cloud-does-not-work-on-raspbian/45223 "2021-05-05T13:44:31Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![PaulM](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paulm/32/14213_2.png) [@PaulM](https://discourse.nodered.org/u/PaulM)
#### Post date: [5 May 2021 13:44 UTC](https://discourse.nodered.org/t/login-screen-code-running-on-ibm-cloud-does-not-work-on-raspbian/45223/1 "2021-05-05T13:44:31Z")

</div>

I have a working example of a login screen (using http nodes) on IBM Cloud.  
The same code, running on Raspbian or Windows, using the same version of Node-Red (1.3.3) in the same browser does not work!  
When I click on the login button, a red screen with a text "login failed" should be shown.  
Running the same code on Raspbian, I see the text in the login screen. Also the URL is not changed.

Code:

```auto
[{"id":"b2b0179b.e20208","type":"comment","z":"850cb06e.855cd","name":"Run in browser: localhost:1880/test","info":"","x":200,"y":80,"wires":[]}]

```

The difference with running on IBM Cloud and Raspbian is that the first is a https connection with a domain name and the second is a http connection with IP address. What is going on?

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [4 July 2021 13:45 UTC](https://discourse.nodered.org/t/login-screen-code-running-on-ibm-cloud-does-not-work-on-raspbian/45223/2 "2021-07-04T13:45:07Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
