Pass Basic Auth Username and Password Headers #182
Replies: 4 comments 8 replies
-
|
Hello! By basic auth headers you mean pass an |
Beta Was this translation helpful? Give feedback.
-
|
Continuing here the discussion for #212 (reply in thread) (I was actually in the wrong discussion). I managed to make it work so I'm going to write a little guide here for those who wish to implement it before the documentation gets updated.
|
Beta Was this translation helpful? Give feedback.
-
|
@steveiliop56 I'm sorry for resurrecting this topic once again but I think it's for the best. As I've mentioned above, I managed to make it work and I'm happy with it, but I'd like to make a suggestion that would enhance the current implementation. I could even try to make a PR for that. gethomepage.dev has a templating feature for using secrets in environment variables. So, we would use like This would avoid hardcoding the basic auth credentials. Although in most cases for self hosted environments this wouldn't be an issue, it still a bad practice to have credentials hardcoded. What do you think? |
Beta Was this translation helpful? Give feedback.
-
|
Hello! I was able to successfully get this working for Owntracks, which has a basic auth popup. However, I need another user to be able to log in to Owntracks as well, as we share our location with each other. I have them configured as a separate user in Tinyauth, and that is working flawlessly in other applications. How would I go about having Tinyauth log them in to Owntracks with their username and password? I am using Nginx Proxy Manager and have my credentials hardcoded in the advanced config: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to have tinyauth pass basic auth headers? I think it is with the documentation I’m reading for 3.4.0 but I’m a bit out of my depth.
I’m looking for a successful login to pass basic auth headers with a defined username and password to the app. Is this possible? Can you provide an example?
Beta Was this translation helpful? Give feedback.
All reactions