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

How to set auth and where to set the Laminar api key? #345

Open
enniofilicicchia opened this issue Jan 22, 2025 · 5 comments
Open

How to set auth and where to set the Laminar api key? #345

enniofilicicchia opened this issue Jan 22, 2025 · 5 comments

Comments

@enniofilicicchia
Copy link

I am trying this as an alternative to Langfuse that is slow, but I cannot find informations about remote hosting in the code nor in the docs.

How to set an authentication method? I don't want everyone to be able to create an account on my laminar
What is the api key? is it NEXT_AUTH or SHARED_SECRET?

To my understanding self-hosting does support only local hosting so far (no other mentions in the docs).

@skull8888888
Copy link
Collaborator

@enniofilicicchia thanks for the issue! Yep, right now auth is very basic in the self-hosted configuration. We're gonna release better auth very very soon. In the meantime, would love to hear your thoughts on how do you want to pre-populate users who has access to your managed version of Laminar?

We're working on guides on how to deploy Laminar properly in the cloud. What are you preferred options? AWS cloud formation, HELM chart, or Terraform?

@enniofilicicchia
Copy link
Author

Thank you for the answer

For both questions, I don't care much
I just need a page with a basic login + ability to set 1 api_key

@skull8888888
Copy link
Collaborator

@enniofilicicchia In this case you already have it, just spin up the local instance, enter your email. Finish onboarding and generate local API key in the project page.

@enniofilicicchia
Copy link
Author

Ok thank you,
I just don't want everyone on the web to be able to add users, but for now it's fine

@dinmukhamedm
Copy link
Member

@enniofilicicchia here are the docs on how to do this https://docs.lmnr.ai/self-hosting/access-control-setup
Let us know if this fixes your issue

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