-
-
Notifications
You must be signed in to change notification settings - Fork 116
OAuth: Google
Matt Holt edited this page Feb 17, 2019
·
1 revision
These instructions will help you set up Google OAuth2 client credentials so you can use Timeliner with Google APIs.
The only thing here that's specific to Timeliner is the OAuth redirect URI (which you can change from the default, anyway).
- While logged into your Google account, go to Google Developer Console and Create a New Project.
- After the project has been created, switch to that project.
- Go to "APIs and Services" then Credentials.
- You'll need to create an OAuth consent screen. You can just fill out the name of the application and hit Save.
- Then Create OAuth client credentials. Make a "Web application" and authorize this redirect URI:
http://localhost:8008/oauth2-redirect
- Congrats, you now have a Client ID and Client Secret. Put those into your Timeliner config file (
timeliner.toml
is the default name of the file). - Be sure to Enable APIs and Services that you'll use. This brings you to the API Library.
- Enable the API(s) you need. For example, you can enable the Google Photos API to integrate with your Google Photos content.