Created
October 15, 2018 13:40
-
-
Save workfel/a18d890184412dfb09ba40b157cb93b3 to your computer and use it in GitHub Desktop.
nest auth
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Controller() | |
export class AuthController { | |
// The endpoint called from google after signin | |
@Get('google/callback') | |
public async googleCallback() { | |
} | |
@Get('google') | |
public async googleSignIn() { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment