# Resource Owner with Google Apps

**URL:** <https://community.auth0.com/t/resource-owner-with-google-apps/7160>\
**Category:** Get Help\
**Tags:** google-apps, google, resource-owner-passw, google-authenticator\
**Created:** [June 20, 2017, 10:57pm UTC](https://community.auth0.com/t/resource-owner-with-google-apps/7160 "2017-06-20T22:57:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![felipecarasso](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@felipecarasso](https://community.auth0.com/u/felipecarasso)\
**Post date:** [June 20, 2017, 10:57pm UTC](https://community.auth0.com/t/resource-owner-with-google-apps/7160/1 "2017-06-20T22:57:27Z")

</div>

Our Web app includes a feature called privilege escalation where a user may remain online but will require to confirm his password for certain sensitive operations.

I was trying to use the Resource Owner flow to provide this feature, but I can’t seem to make it work with our configuration. We use Enterprise → Google Apps as our connection.

When I try to configure the default connection for our account, I get this error:

```
Invalid connection name ourdomain-com. Expected name of a connection with strategy being: auth0-adldap,ad,auth0,email,sms,waad,adfs
```

Is anybody able to help?

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [June 21, 2017, 4:04pm UTC](https://community.auth0.com/t/resource-owner-with-google-apps/7160/2 "2017-06-21T16:04:16Z")

</div>

What you’re trying to accomplish is not supported through the resource owner password credentials grant. As mentioned in the [documentation](https://auth0.com/docs/api-auth/tutorials/password-grant) this grant is available only for connection capable of performing direct authentication with just username and password:

> Keep in mind that only connections capable of authenticating users via username and password can be used (i.e. database connections, AD, LDAP, Windows Azure AD, ADFS)

Google Apps connection is not supported and if I’m not mistaken Google does not support a way for you to request that the user needs to input credentials again and as such performing a redirect-based authentication request may just end-up in Google reusing the existing session which is kind of a noop for what you’re trying to do. At least this is what happens with Google social connection, but I’m not sure if Google Apps would be any different.

As an additional alternative you could consider doing [Step-Up Authentication](https://auth0.com/docs/tutorials/step-up-authentication) with a second factor instead of asking again for the initial factor.

---

<div class="post-metadata">

**Author:** ![felipecarasso](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@felipecarasso](https://community.auth0.com/u/felipecarasso)\
**Post date:** [June 21, 2017, 9:31pm UTC](https://community.auth0.com/t/resource-owner-with-google-apps/7160/3 "2017-06-21T21:31:29Z")

</div>

If I enable MFA it seems that it will be applied to every sign-in request. How would I proceed to request the one-time-password only at specific situations?

---

<div class="post-metadata">

**Author:** ![felipecarasso](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@felipecarasso](https://community.auth0.com/u/felipecarasso)\
**Post date:** [June 21, 2017, 9:31pm UTC](https://community.auth0.com/t/resource-owner-with-google-apps/7160/4 "2017-06-21T21:31:29Z")

</div>

If I enable MFA it seems that it will be applied to every sign-in request. How would I proceed to request the one-time-password only at specific situations?

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [June 22, 2017, 7:42pm UTC](https://community.auth0.com/t/resource-owner-with-google-apps/7160/5 "2017-06-22T19:42:56Z")

</div>

You can control for whom/when MFA is required, for example these [docs](https://auth0.com/docs/multifactor-authentication/administrator/guardian-for-select-users) show a possible way to enable it only for certain users and that is through a rule so you could apply any conditional logic you would need alongside the concepts documented in the step-up authentication page.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 2, 2018, 5:54am UTC](https://community.auth0.com/t/resource-owner-with-google-apps/7160/6 "2018-03-02T05:54:48Z")

</div>


