sipcapture / homer-view-react

Experimental React Viewer for HEP APIs
GNU Affero General Public License v3.0
10 stars 6 forks source link

Docker - Using Auth Token from Homer in Homer-view #83

Closed idanam-del closed 1 year ago

idanam-del commented 1 year ago

Hey,

i dont want to use the proxy but use a generated Auth Token from Homer. i the homer api accepts requests only if the token is in the header and not a prameter in the url request.

So how can i use the viewer with the auth-token?

Thank you

lmangani commented 1 year ago

I think this is an anti-pattern. The two authentications are equal but without the proxy everything is insecure. We cannot support any such changes, but feel free to make a PR with any code change proposal for review.

idanam-del commented 1 year ago

I think this is an anti-pattern. The two authentications are equal but without the proxy everything is insecure. We cannot support any such changes, but feel free to make a PR with any code change proposal for review.

I'm sorry but i dont understand i thought using the proxy is insecured. its says so in the github repo itself "This simple, primitive proxy implementation allows UNAUTHORIZED ACCESS to an HOMER 7.x API"

Either way while i use the proxy its still says login required. can i feed the proxy somehow with an auth token from homer ui?