Opened 15 years ago
Last modified 5 years ago
#6879 new enhancement
Add external site authentication
Reported by: | falkb | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | IncludeMacro |
Severity: | normal | Keywords: | remote authentication https |
Cc: | Trac Release: | 0.10 |
Description (last modified by )
I simply tried to embed another intranet page by:
[[Include(https://172.20.1.4/trac)]]
but just get this error:
Error while retrieving file HTTP Error 401: Authorization Required
What can I do? There's no documentation how to setup such authorization. The complete trac site is via https here. I use the SSPI Plugin on a trac 0.10.4, Python 2.4, Apache Webserver 2.2 (xampp 1.6.4) on Windows
Attachments (0)
Change History (6)
comment:1 follow-up: 2 Changed 13 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 13 years ago by
Replying to rjollos:
falkb, are you still on Trac 0.10?
No, 0.12.2 now
If not, would you be willing to test out the latest trunk? I've done some work on the plugin recently.
Today's trunk still tells the same error as I tried to include another wiki page of the same Trac project.
DEBUG logging just wrote
...... formatter.py:285 DEBUG: Executing Wiki macro Include by provider <includemacro.macros.IncludeMacro object at 0x067EF970>
comment:3 Changed 12 years ago by
I'm behind a proxy server which must be configured somehow. I'm not sure if that is an Apache configuration or must be globally set in trac.ini or if each Trac plugin must set the proxy configuration by itself.
It might be a proxy server problem we probably must fix this way (???):
proxy_handler = urllib2.ProxyHandler({'http': 'http://myusername:mypassword@myproxyserver:myproxyserverport/'}) opener = urllib2.build_opener(proxy_handler) chart = opener.open(...)
I'm not sure. Anyway I just see in line 62 of macros.py code without proxy handling:
urlf = urllib2.urlopen(source)
comment:4 Changed 12 years ago by
Keywords: | remote authentication added; Authorization removed |
---|---|
Owner: | changed from Noah Kantrowitz to Ryan J Ollos |
Summary: | cannot include https page, says "Authorization Required" → Add external site authentication |
Type: | defect → enhancement |
There's no claim for remote authentication support for this plugin. I take it, that this is a feature request of yours, right?
Furthermore, there are other related tickets, but this is is the one with most recent comments. Following actions should help to push the issue:
- #2278 has been closed as a duplicate of this ticket despite being earlier and at least having some code-snippets in it.
- #7261 has been closed as a duplicate of this ticket.
See #4743 for some code claiming to implement remote authentication (full source, no patch yet). Ryan might even decide to move code over to this ticket for better issue tracking, because it's rather unrelated to the main topic of that ticket - InterTrac.
comment:5 Changed 11 years ago by
Status: | new → assigned |
---|
comment:6 Changed 5 years ago by
Owner: | Ryan J Ollos deleted |
---|---|
Status: | assigned → new |
falkb, are you still on Trac 0.10? If not, would you be willing to test out the latest trunk? I've done some work on the plugin recently.