Last active
June 22, 2019 08:36
-
-
Save nicogaspa/cd49965935fc58b8741adb3d13fccc80 to your computer and use it in GitHub Desktop.
Simple Login redirect to Google Auth
This file contains 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
<!DOCTYPE html> | |
<html lang="en-us"> | |
<head> | |
<title>Your Skill</title> | |
</head> | |
<body> | |
<div> | |
<p>Welcome to the skill</p> | |
<p>Click on the button to continue</p> | |
</div> | |
<script language="javascript" type="text/javascript"> | |
var urlParameter = window.location.search.substr(1); | |
</script> | |
<a href="https://accounts.google.com/o/oauth2/v2/auth?access_type=offline&" | |
onclick="location.href=this.href+urlParameter;return false;"> | |
Login | |
</a> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment