login control for self-hosted web client #1003
-
shlink-web-client version3.10.2 How do you use shlink-web-clientSelf-hosted Summaryis there any way to add login page for using self hosted client? now it is directly opening and connecting to server without any authentication |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
shlink-web-client is an app running 100% in the browser, and only your device knows about the API key, that's why it's safe to load server data with no user authentication, and at the same time, not possible to have end-user login. This is somehow convenient, but presents some known limitations, that's why there is work in progress for a next-level Shlink app (AKA shlink-dashboard) that will include its own backend, supporting user authentication. See #338 for details. |
Beta Was this translation helpful? Give feedback.
-
I have a question about the design of shlink main server code. Why don't we include some APIs to create and authenticate users in the server code itself? This way, we can still have a backend-free client web app, but also have a user management module in the main server. Is there any technical or architectural reason for not doing this? I would be happy to work on this feature if it is feasible and desirable. |
Beta Was this translation helpful? Give feedback.
shlink-web-client is an app running 100% in the browser, and only your device knows about the API key, that's why it's safe to load server data with no user authentication, and at the same time, not possible to have end-user login.
This is somehow convenient, but presents some known limitations, that's why there is work in progress for a next-level Shlink app (AKA shlink-dashboard) that will include its own backend, supporting user authentication.
See #338 for details.