DrayTek Hotspot Web Portal supports social login. By using Google API, we can give visitors Internet access after they log in with a valid Google account. This document introduces how to create a Google project and get the APP ID and APP Secret required for Web Portal setup.
1. Go to https://console.cloud.google.com/, login with a Google account then click Select a project >> NEW PROJECT.
2. Type Project name, then click CREATE.
3. Go to the dashboard and click ENABLE APIS AND SERVICES.
4. Select Google People API from the category Social APIs.
5. Click ENABLE for this project.
6. Click CREATE CREDENTIALS.
7. Choose People API for Which API are you using and User data for What data will you be accessing, then click NEXT.
8. Enter App name, User support email and Email addresses,then click SAVE AND CONTINUE.
9. Choose Web application for Application Type, enter Name, and input Authorized JavaScript origins as https://portal.draytek.com:8043 (it's the URL used by the router for Hotspot portal page), then click CREATE.
10. Go to Credentials and click WebPortal_Google.
11. Get Client ID and Client secret, copy this information for the router's Hotspot Web Portal setup.
Published On:2017-01-24
Was this helpful?