Login redirects to Registration #5403
-
|
Hi all, I've installed the CE on Kubernetes with the supplied Helm chart and configured an ingress. I can access the Plausible Base URL, but all it shows is the user registration page. If I click on "login" (or enter the /login URL manually), I get a 302 and are redirected to /registration. I did provision for an admin account and would like to login as admin - not register a user. What could be the issue here? I have even disabled registration in the values.yml file by putting Seems like I don't grasp some basic concept :) |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 4 replies
-
|
same problem here |
Beta Was this translation helpful? Give feedback.
-
|
AFAIK there is no way to provision admin accounts through env variables anymore. It used to exist in older versions of Plausible but has been removed due to extra maintenance burden. |
Beta Was this translation helpful? Give feedback.
-
|
You ever figure this one out? |
Beta Was this translation helpful? Give feedback.
-
|
@apata I did provision for an admin account in the values.yml file. I might have been looking at older documentation that still had the keywords to use for that. So when I was posting here I was under the impression I had provisioned for an admin account, but then was informed that the functionality has been removed. So I suppose there weren't actually any accounts configured. |
Beta Was this translation helpful? Give feedback.
-
|
Just to have this 100% cleared up, Login redirecting to Registration until the first CE user is created is intentional. Otherwise there's nothing to login with. The solution is to create the user in the Registration flow. The confusion came from a deprecated config option to automatically create the first user: it didn't alert loudly enough that it's deprecated and doesn't work any more. |
Beta Was this translation helpful? Give feedback.
Just to have this 100% cleared up, Login redirecting to Registration until the first CE user is created is intentional. Otherwise there's nothing to login with. The solution is to create the user in the Registration flow.
The confusion came from a deprecated config option to automatically create the first user: it didn't alert loudly enough that it's deprecated and doesn't work any more.