In this lesson, we link the CoursePurchase object with the user’s Github account.
To do this, we redirect the user to the login page after a successful purchase. Once they log in, they’re redirected back to a linkWithGithub page.
This page hits an endpoint that grabs their email and updates the CoursePurchase object so we know to allow this Github user to access the course.
We define an empty render function since we don’t need to render anything on this page.
18 lessons
7 lessons
7 lessons
11 lessons
18 lessons
8 lessons
17 lessons