Create Google APP for Hotspot Web Portal

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.

a screenshot of DrayOS hotspot setup

1. Go to https://console.cloud.google.com/, login with a Google account then click Select a project >> NEW PROJECT.

a screenshot of google developer

2. Type Project name, then click CREATE.

a screenshot of google developer 

3. Go to the dashboard and click ENABLE APIS AND SERVICES.

a screenshot of google developer

4. Select Google People API from the category Social APIs.

a screenshot of google developer

5. Click ENABLE for this project.

a screenshot of google developer

6. Click CREATE CREDENTIALS.

a screenshot of google developer

7. Choose People API for Which API are you using and User data for What data will you be accessing, then click NEXT.

a screenshot of google developer

8. Enter App name, User support email and Email addresses,then click SAVE AND CONTINUE.

a screenshot of google developer

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.

a screenshot of google developer

10. Go to Credentials and click WebPortal_Google.

a screenshot of google developer

11. Get Client ID and Client secret, copy this information for the router's Hotspot Web Portal setup.

a screenshot of google developer

Published On:2017-01-24 

Was this helpful?