Developer is logged out every time the tab is closed when logged in via Github/Google

Backendless Version (3.x / 5.x, Online / Managed / Pro )

5.x Online

Client SDK (REST / Android / Objective-C / Swift / JS )

It’s developer login in Console

Expected Behavior

Please describe the expected behavior of the issue, starting from the first action.

  1. Log in via GitHub or Google
  2. After successful login, close the tab
  3. Open console again on a new tab
  4. Should still be logged in

Actual Behavior

  1. Log in via GitHub or Google
  2. After successful login, close the tab
  3. Open console again on a new tab
  4. Presented with a login screen

Hello Sierżant, glad to see you. :wink:

The internal ticket BKNDLSS-19692 created. We’ll fix it and let you know about updates.

Regards,
Andrew.

1 Like

Dear @scadge

use https://develop.backendless.com and be happy :wink:

p.s. We will make automatic redirect from http to https for Backendless console.

Oh, indeed with https it works as expected :+1:
It’s just that develop.backendless.com is easier to type than https://develop.backendless.com :grin:
So I guess redirecting to https by default would solve it, but anyway shouldn’t it preserve login with http as well?

Hi @scadge :grinning:

but anyway shouldn’t it preserve login with http as well?

no, web browser uses different LocalStorages for http and https,
When you login from http:// it redirects to social-login, then you will be redirected to https:// and web browser will put user’s auth token into LocalStorage for https and when you try to open another web page (with http) the received token will not be there and as result you can see Login Screen

Regards, Vlad

1 Like

@scadge the issue is fixed