Skip to content

Lab 36/37 - Elizabeth#2

Open
Tenlia wants to merge 3 commits intocodefellows-seattle-javascript-401d10:masterfrom
Tenlia:day-36
Open

Lab 36/37 - Elizabeth#2
Tenlia wants to merge 3 commits intocodefellows-seattle-javascript-401d10:masterfrom
Tenlia:day-36

Conversation

@Tenlia
Copy link
Copy Markdown

@Tenlia Tenlia commented Nov 9, 2016

No description provided.

},
files: [
'app/entry.js',
'client-test/**/*-test.js',
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Good work changing these paths to point to your client-test directory :)

let googleAuthAccessType = 'access_type=offline';
let googleAuthPrompt = 'prompt=consent';

this.googleAuthURL = `${googleAuthBase}?${googleAuthResponseType}&${googleAuthClientID}&${googleAuthScope}&${googleAuthRedirectURI}&${googleAuthAccessType}&${googleAuthPrompt}`;
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Nice work constructing the URL for your anchor tag :)

})
.then(user => user.generateToken())
.then(token => {
res.redirect(`/?token=${token}`);
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Good work passing the token back to the client via a redirect with the token in the query string :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants