Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First run: Lands on login page even though logged in #69

Open
MikeBishop opened this issue Jun 14, 2023 · 8 comments
Open

First run: Lands on login page even though logged in #69

MikeBishop opened this issue Jun 14, 2023 · 8 comments

Comments

@MikeBishop
Copy link

When spinning up a fresh instance, after creating the first user account, the user comes to the login page but is already logged in. This should presumably redirect to some other page after successfully logging in.

@bayang
Copy link
Owner

bayang commented Jun 15, 2023

Hi,
I can't reproduce locally.

I just tried the following flow on a brand new instance (launching the jar) :

  • launch the jar
  • go to my browser and navigate to jelu
  • create the initial user
  • I'm redirected to "/"

I'll try to test on a separate server with the docker image.

Thanks for reporting this.

@dror3go
Copy link

dror3go commented Feb 18, 2024

Hi there,

I'm also encountering this annoying issue.
Am using under Docker. Browsing with Firefox under Android.
Any more information you need in order to tackle this?

@bayang
Copy link
Owner

bayang commented Feb 18, 2024

@dror3go yes, can you tell me the exact flow to reproduce please.
I have not managed to reproduce here, using the same setup as you (docker + android firefox)

@dror3go
Copy link

dror3go commented Feb 19, 2024

Steps to reproduce:

  1. Browse to the public main page (not using local network)
  2. Login with your credentials
  3. Use PWA by installing as an application (Firefox shortcut in the phone's main screen)
  4. Open the PWA icon (which for some reason has the name "Website" and not "Jelu" or something like that)

Result: login form is being displayed, though I am logged in and can browse other pages using the menu.

@bayang
Copy link
Owner

bayang commented Feb 19, 2024

Well, actually I forgot I put a pwa manifest in there at the beginning.

I'll try to have a look to get it working, but currently pwa is not supported, I'm sorry, it is my mistake.

Do you have the same problem if you only use Jelu the "regular" webpage in a browser way ?

@dror3go
Copy link

dror3go commented Feb 19, 2024

I'm using only the PWA since it makes it much easier to enter and is nicer with the "app feel" without the navigation bar.
Since this is the only problem I've noticed when using the PWA - would be nice to fix it and have a fully functional PWA 😃

@bayang
Copy link
Owner

bayang commented Feb 28, 2024

@dror3go if you are still interested, you can try the latest release (0.51.0), it should fix the pwa
Make sure to purge previous pwa installs, just in case.

@dror3go
Copy link

dror3go commented May 1, 2024

@bayang Sorry for the delay - yes, the newer version indeed fixes the problem for me.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants