enchanted icon indicating copy to clipboard operation
enchanted copied to clipboard

Authentication needed for URL

Open Josh-E-S opened this issue 1 year ago • 4 comments

I have the app up and working with ngrok and it's working great, but anyone that has my URL can hit my ollama server unchecked. I see the option for a bearer token. Can you expand on how this can be used for authentication? I don't see anything in the Readme.

Josh-E-S avatar Jul 26 '24 23:07 Josh-E-S

I am looking into this myself. I see this project (https://github.com/stephan-buckmaster/ruby-bearer-auth-proxy) as a solution, but I am hoping for Ollama to support this natively, or configure my nginx to do this. If someone figures this out, please post a solution here.

tjmustard avatar Aug 04 '24 20:08 tjmustard

There is llamatunnel.com or https://github.com/mitja/llamatunnel

tjmustard avatar Aug 04 '24 22:08 tjmustard

I would also like to see authentication support added.

frostronic avatar Sep 22 '24 07:09 frostronic

If you use the basic authentication in ngrok like this ngrok http 80 --basic-auth "username1:password1", then you can setup your url like this : https://username1:[email protected] and it should work

sauravzach avatar Jan 01 '25 21:01 sauravzach