Skip to content
This repository has been archived by the owner on Jan 25, 2018. It is now read-only.

oauth by default using default keys (bug 1106198) #295

Merged
merged 1 commit into from
Dec 7, 2014
Merged

oauth by default using default keys (bug 1106198) #295

merged 1 commit into from
Dec 7, 2014

Conversation

andymckay
Copy link
Contributor

No description provided.

check = request.build_absolute_uri()
if check != url:
log.warning('SITE_URL: {0} does not match request: {1} '
'This may cause OAuth failures.'.format(check, url))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

adding this, because this stopped it working for me and it wasn't obvious why

@@ -14,4 +14,5 @@ RUN pip install -b /pip/build --download-cache /pip/cache --no-deps -r /pip/requ
EXPOSE 2602

ENV SOLITUDE_DATABASE mysql://root:@mysql:3306/solitude
ENV SOLITUDE_URL http://solitude:2602
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ensures that SITE_URL is correct so OAuth works

@kumar303
Copy link
Contributor

kumar303 commented Dec 5, 2014

looks good! r+

andymckay pushed a commit that referenced this pull request Dec 7, 2014
oauth by default using default keys (bug 1106198)
@andymckay andymckay merged commit b1e4dec into mozilla:master Dec 7, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants