Closed
Bug 1198445
Opened 9 years ago
Closed 7 years ago
browserid/csrf not found under web-server.js
Categories
(Tree Management :: Treeherder, defect)
Tree Management
Treeherder
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: jfrench, Unassigned)
Details
Attachments
(1 file)
483.07 KB,
image/jpeg
|
Details |
Just a minor console complaint I observed after PR902 landed for bug 1197550, when running locally under web-server.js, the console complains on the $http.get() per the attached screen grab.
I did a re-provision and under vagrant it's fine. It just occurs under web-server.
I defer to Mauro and Ed in case this is a wontfix :)
Reporter | ||
Comment 1•9 years ago
|
||
Per screen grab.
Comment 2•9 years ago
|
||
This is because the call here is missing a `thServiceDomain` prefix:
https://github.com/mozilla/treeherder/blob/7af7496b18bf916bbacc51b1ead29c0daf9aa7b8/ui/js/directives/treeherder/persona.js#L24
That said, login won't work from web-server.js, since the requests will be cross-domain.
Comment 3•9 years ago
|
||
Perhaps we should just disable the login button (with some appropriate messaging) if `thServiceDomain !== ''` ?
Reporter | ||
Comment 5•9 years ago
|
||
(In reply to Ed Morley [:emorley] from comment #3)
> Perhaps we should just disable the login button (with some appropriate
> messaging) if `thServiceDomain !== ''` ?
Can that thServiceDomain condition occur on stage or prod? If it can only occur locally maybe it's simpler/less code to maintain to leave the ui as-is dunno. :-) I guess it currently gives us a workflow to test rejection of certain types of login attempts.
Comment 6•7 years ago
|
||
We no longer used browserid.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•