extremerotary Posted February 16, 2018 Report Share Posted February 16, 2018 Hey guys, Does anyone out there have a setup guide for configuring storage to use Google Drive? I read a very good article on the doc site regarding storage plans for S3, but I'm looking to use Google Drive. I understand the basics, but I'm cloudy on exactly how to configure this. For example, from the doc site I see the schema for the storage attachment google_drive. I get everything except "settings.oauth_doc_id". The description is "Doc ID in the system 'auth' database". Does anyone have a guide on how to create this doc and how to setup the oauth in google for this purpose? Thanks! Link to comment Share on other sites More sharing options...
2600Hz Employees mc_ Posted February 16, 2018 2600Hz Employees Report Share Posted February 16, 2018 Basic idea is here: https://docs.2600hz.com/dev/core/kazoo_auth/doc/oauth/#using-google-drive-for-voicemails Doc needs cleanup to render better though. Use https://github.com/2600hz/kazoo/blob/master/core/kazoo_auth/doc/oauth.md Link to comment Share on other sites More sharing options...
rahibrasheed Posted December 6, 2019 Report Share Posted December 6, 2019 Hi, I am trying to Integrate Google drive for storing recordings using the same documentation. But In step 3.5, the callback API is not returning any token. Its giving empty response. It looks like no user is linked to SSO provider. How can I link a user to SSO Provider? From the auth.md documentation I found the following API but what is {LINK_ID} in this API? Link a User to an SSO Application When the user is signing on with A Single-Sign-On provider for the first time, it should log in with its own Kazoo credentials one more time, and then make a request to this API to link its Kazoo's user to the SSO. After that the user can sign in with SSO regularly and no need to use Kazoo credentials again. PUT /v2/auth/links/{LINK_ID} curl -v -X PUT \ -H "X-Auth-Token: {AUTH_TOKEN}" \ http://{SERVER}:8000/v2/auth/links/d6faaff6b054393f28356ab7b38ad1bf-116254222860442180295 Link to comment Share on other sites More sharing options...
nick Posted April 14, 2020 Report Share Posted April 14, 2020 Hi guys did you get this working? I am also stuck on the step where Kazoo is requesting token from Google but it looks that step fails becouse kazoo_auth is using deprecated google API for it and it needs to be updated. Link to comment Share on other sites More sharing options...
Recommended Posts