Installing an OAuth app in G-Suite - google-apps

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.

Related

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

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

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?

Moodle Authentication (auth_googleoauth2) plugin not working

i am using moodle 3.0.
I want to login with on my website, so i have downloaded Authentication (auth_googleoauth2) plugin from moodle directories.
also put the clientID and client secret into setting plugine page.
But on login page still not showing buttons for "login with google".
Any thing i am missing can any one help how to use this plugin.
Is it enabled? Go to site admin -> plugins -> authentication -> manage authentication
https://docs.moodle.org/30/en/Managing_authentication#Setting_the_authentication_method.28s.29

Best way to share facebook app id/secret for development testing

I have a website I'm developing using Meteor with a production and test Facebook website app setup for login purposes.
Specifying the app id and secret in my settings for localhost and production environments is easy, but how do I allow my colleagues to also login in a localhost environment to the app without giving them the appid and secret - since it's tied to my facebook account (or is it?).
I have the app setup for localhost testing, it just doesn't feel right giving them the appid and secret, in-case of turnover and/or other security issues that seem pretty obvious.
I can add them as testers on the app using Facebook's developer page for my test app, but that doesn't allow them to login without the app id and secret in their configuration while launching the server on their localhost.
I'm sure this has an obvious solution, I just can't find it in the docs.
I'm using Meteor for developing the site.
They won't be able to hack your facebook account if you give them an app's secret if that's what you're asking. Still, you can always create test users, FB exempts developers from their "real name" policy: https://developers.facebook.com/docs/apps/test-users

Is there any way to get domain users under google enterprise apps domain using OAuth 2.0?

Google Provisioning APIs use Google data protocol which requires admin userid and password. I looking for something like Google drive APIs so that I can use authority delegated service account to fetch entreprise info also. Idea is to avoid asking Admin credentials.
The Provisioning APIs support OAuth just fine. However, you should probably use the brand new Admin SDK Directory API which also supports the newer Google API similar to Drive SDK.