What is the correct way to share gsuite add-on with external users without publishing to Marketplace? - gsuite-addons

Using a company domain gsuite account, I have successfully deployed a gsuite Google Docs add-on for my company domain using the G Suite Marketplace SDK, but I have some users that are outside of the domain e.g. part-timers, contractors etc. who are using their personal name#gmail.com accounts. How can I share the add-on with them to install?
In G Suite Marketplace SDK > Publish, I have this App URL, but it gives error 400 so I don't know where to go next.
https://gsuite.google.com/marketplace/app/appname/<project number>

Unfortunately, you will need to publish it to the Public for anyone outside your domain to install it.
Here is some more info:
https://developers.google.com/gsuite/add-ons/how-tos/publishing-gsuite-addons#step_4_configure_the_marketplace_sdk

Related

Unable to run Echo Bot Google Messaging API. Doesn't reply to "card", "carousel", "chips" strings

I just started Google Messaging APIs 3-5 days ago and couldn't figure out what did I go wrong. I already sent/asked this issue to Google's Support page.
Project is under my generic google account. I created a Service Account under this project for info#ourdomain.com and added it as a Project > Editor role. Got this Json keys, uploaded them together with my python Echo Bot files.
Done registering my partner account as well (info#ourdomain.com) and got verified with the Project Number connected that's in my generic google account. I don't know if this is the right setup where my partner account and project ID are from different Google Accounts (info#ourdomain.com and generic#gmail.com, respectively).
Echo bot sample I used: https://github.com/google-business-communications/bm-python-echo-bot/tree/master/full_sample
Logs:
I'm very familiar with programming Google's services but was unaware of Business Messages until I saw your question (it's interesting, thanks).
There are a couple of references to "select the project that you registered for Business Messages".
Often Google enable non-GA|non-public APIs and other functionality (sometimes by injecting service accounts into the project's policy) by having users register Project IDs and Google accounts. I suspect that's what's happening here and the functionality is either blocked or not working entirely by your use of a different Project.
You may be able to gain more insight from the problem by checking logs. IIUC, an App Engine app is deploy and you should be able to gcloud app logs read --project=[[YOUR-PROJECT-ID]] (or gcloud app logs tail --project=[[YOUR-PROJECT-ID]])

Custom coded configurator on Cpanel Subdomain for existing Shopify marketplace

a. I have a Shopify shop ex: shop.com
b. The product configurator is a PHP built and its hosted on a server (https://zaorstudiofurniture.com/index.php?page=configurator)
c. How can I setup configurator.shop.com URL if my domain is hosted on Shopify?
You cannot run PHP code on Shopify. You can however set your DNS up so that your configurator App runs as a subdomain on zaorstudiofurniture.com. For example, you would run your shopify store as:
www.zaorstudiofurniture.com
and your configurator as:
config.zaorstudiofurniture.com
with simple DNS settings. Shopify has some DNS settings internal to their admin that is good for ensuring Shopify stores run on domains correctly, but no one really needs that unless they are total n00bs to Internet. Setting up your own DNS ensures you can run your PHP, your Shopify, email and any other services without too much trouble.

Why does our g-suite marketplace installed app not get the appropriate scopes?

We published our app via the G-Suite marketplace.
Admins can install the app domain-wide for users to access and they are asked at that time to approve all the scopes our application needs.
When users in an domain where the app is installed try to use features that integrate with Google - specifically fetching classroom data - they are not prompted to give us access to the data we request and yet the scopes are not requested from that user.
If the user does NOT have the marketplace app installed on their domain, they are simply prompted to grant access to the data and can continue.
To workaround this we removed all the requested scopes from the marketplace listing, and now users in a domain with the app installed are asked to approve scopes individually when we request them.
However, the G-Suite marketplace documentation specifically says that we are supposed to avoid having to ask users individually to grant scopes, so this seems wrong.
Has anyone else run into this issue and found a solution?

How do you publish a SCIM 2.0 provisioning app in the G Suite Marketplace?

I'd like to publish an app on the G Suite Marketplace that allows user and group management/provisioning via SCIM 2.0. Where do I need to go to configure that?
This article from 2016 made me think it would be possible (https://gsuiteupdates.googleblog.com/2016/07/automatically-provision-users-with-scim.html) but I cannot find it anywhere in Google's documentation or Marketplace SDK?
We currently user SCIM as our primary method for integrating with the Identity Providers used by our enterprise clients. Some enterprises use GSuite for SSO though. Our current app in the Google Marketplace doesn't use SCIM and therefore has to be maintained separately.

Installing an OAuth app in G-Suite

I would like to try out the recently added G-Suite admin feature where one can whitelist third party OAuth apps using a test G-Suite account:
https://gsuiteupdates.googleblog.com/2017/07/manage-access-to-third-party-apps-with.html
In my test G-Suite account, I have one admin user and two regular users. The issue is that I am not able to install an OAuth app in such a way that it would show up under 'Security -> G Suite API Permission -> Installed' in G-Suite admin panel. I have tried these approaches so far:
Using a regular user account, I installed a few marketplace apps like Asana, 5pm etc. that show up at this url under the regular user account: https://myaccount.google.com/permissions.
Using a regular user account, I visited a bunch of websites and signed up using Google Authentication.
Using the admin account, I installed a bunch of market place apps using 'Apps -> Marketplace apps' page in admin panel.
My question is how can I install a random app such that it would show up under 'Security -> G Suite API Permission -> Installed'? In my production G-Suite account, I see a ton of apps such as 'Zoom', 'Expensify', 'Dropbox' , 'iOS', 'Reflektive', 'Dialpad' at this page but I am not able to repro this in my test G-Suite account.
I believe that you need to go to one of the apps you would like to test, for example dropbox.com and sign-in with and email address on your test Google domain. Make sure to allow the requested access. Afterwords you should be able to see the app under G Suite Permissions -> Installed.