Closed Bug 866815 Opened 13 years ago Closed 13 years ago

Integrate login.webmaker.org into thimble

Categories

(Webmaker Graveyard :: Thimble, defect)

x86_64
Windows 7
defect
Not set
normal

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.
Whiteboard: u=user p=1 s=2013w18
Pomax: planning on getting to this tomorrow/Friday?
very much so, apparently this ticket was missing dependencies.
Depends on: 861892
Depends on: 867218
No longer depends on: 861892
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.
readme added.
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 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)
Attachment #746022 - Flags: review?(ross) → review+
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+
fixed dave's points (except for a stylistic one). I'd like a function review by jbuck.
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 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-
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?
Depends on: 870017
new pull request with updated SSO instead
Attachment #746022 - Attachment is obsolete: true
Attachment #748009 - Flags: review?(jon)
landed.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Attachment mime type: text/plain → text/x-github-pull-request
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.

Attachment

General

Creator:
Created:
Updated:
Size: