Closed
Bug 866815
Opened 13 years ago
Closed 13 years ago
Integrate login.webmaker.org into thimble
Categories
(Webmaker Graveyard :: Thimble, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: michiel, Assigned: michiel)
References
Details
(Whiteboard: u=dev p=1 s=2013w19)
Attachments
(1 file, 1 obsolete file)
The webmaker.org repo has a README that can act as an example on how to do this integration.
Updated•13 years ago
|
Whiteboard: u=user p=1 s=2013w18
Comment 1•13 years ago
|
||
Pomax: planning on getting to this tomorrow/Friday?
very much so, apparently this ticket was missing dependencies.
Updated•13 years ago
|
Whiteboard: u=user p=1 s=2013w18 → u=dev p=1 s=2013w19
Attachment #746022 -
Flags: review?(ross)
Attachment #746022 -
Flags: review?(kieran.sedgwick)
Attachment #746022 -
Flags: review?(jon)
Attachment #746022 -
Flags: review?(scott)
This does still miss a section in the README on how to make sure all the cookie settings match up with login.wm, so I'll add that in, too.
Comment 6•13 years ago
|
||
Comment on attachment 746022 [details] [review]
https://github.com/mozilla/thimble.webmaker.org/pull/49
Comments in the pull request.
For the most part I got this setup alright.
It seems to be failing when I try to publish, likely due to the comment in the pull request.
Attachment #746022 -
Flags: review?(scott) → review-
Comment 7•13 years ago
|
||
Comment on attachment 746022 [details] [review]
https://github.com/mozilla/thimble.webmaker.org/pull/49
Got a few things that I would like to see come together before looking at this again. Comments in github
Attachment #746022 -
Flags: review?(ross) → review-
note: unhappy with the use of both parser_secret and session_secret, filed https://github.com/visionmedia/express/issues/1607 to find out what the correct way of doing things is here, since the docs are not sufficient to determine that.
Attachment #746022 -
Flags: review?(kieran.sedgwick) → review?(david.humphrey)
Comment on attachment 746022 [details] [review]
https://github.com/mozilla/thimble.webmaker.org/pull/49
added ross back in, since his issues got address and he wanted another pass after that happened.
Attachment #746022 -
Flags: review- → review?(ross)
Comment 10•13 years ago
|
||
Comment on attachment 746022 [details] [review]
https://github.com/mozilla/thimble.webmaker.org/pull/49
Rocking.
Thanks for the fixes!
Attachment #746022 -
Flags: review?(ross) → review+
Comment 11•13 years ago
|
||
Comment on attachment 746022 [details] [review]
https://github.com/mozilla/thimble.webmaker.org/pull/49
Initial code review, comments in the ticket. I'll ask for functional review from some of the others already listed here.
Attachment #746022 -
Flags: review?(david.humphrey) → review+
| Assignee | ||
Comment 12•13 years ago
|
||
fixed dave's points (except for a stylistic one). I'd like a function review by jbuck.
Comment 13•13 years ago
|
||
Not sure if it's a problem, but I'm getting an error message when I visit the page while logged out:
[17:29:08.549] Error in handler. @ sso.js:149
[17:29:08.549] publishButton.hide is not a function @ sso.js:150
Comment 14•13 years ago
|
||
Comment on attachment 746022 [details] [review]
https://github.com/mozilla/thimble.webmaker.org/pull/49
I also cannot seem to get this working on heroku. I get a lovely:
"Sorry, an error occurred while trying to publish. Error: please log in first at checkForPersonaAuth (/app/lib/middleware.js:12:21)"
There's also some things to fix up in the PR.
Attachment #746022 -
Flags: review?(jon) → review-
| Assignee | ||
Comment 15•13 years ago
|
||
that's odd, the code for the publishbutton is supposed to kick in after friendlycode loads up. I'll have a look at why you're getting that middleware error - it would suggest your cookie is in fact not set correctly. Did you remember to set both login and thimble to the .herokuapps.com cookie domain?
| Assignee | ||
Comment 16•13 years ago
|
||
new pull request with updated SSO instead
Attachment #746022 -
Attachment is obsolete: true
Attachment #748009 -
Flags: review?(jon)
Comment 17•13 years ago
|
||
Comment on attachment 748009 [details] [review]
https://github.com/mozilla/thimble.webmaker.org/pull/54
r+
Attachment #748009 -
Flags: review?(jon) → review+
Comment 18•13 years ago
|
||
Commit pushed to master at https://github.com/mozilla/thimble.webmaker.org
https://github.com/mozilla/thimble.webmaker.org/commit/bb946e9df06d9e85dc45141070bd9883f81e204a
Merge pull request #54 from Pomax/bug866815
updated SSO
| Assignee | ||
Comment 19•13 years ago
|
||
landed.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Attachment mime type: text/plain → text/x-github-pull-request
Updated•12 years ago
|
Attachment mime type: text/plain → text/x-github-pull-request
You need to log in
before you can comment on or make changes to this bug.
Description
•