# I'm going insane and need help!

**URL:** <https://forum.bubble.io/t/im-going-insane-and-need-help/143466>\
**Category:** APIs\
**Created:** [March 27, 2021, 9:42pm UTC](https://forum.bubble.io/t/im-going-insane-and-need-help/143466 "2021-03-27T21:42:06Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![cameron1](https://avatars.discourse-cdn.com/v4/letter/c/eb9ed0/32.png) [@cameron1](https://forum.bubble.io/u/cameron1)\
**Post date:** [March 27, 2021, 9:42pm UTC](https://forum.bubble.io/t/im-going-insane-and-need-help/143466/1 "2021-03-27T21:42:06Z")

</div>

I have a YouTube OAuth consent screen enabled and an API key to boot.

I’m trying to sign my user in via Youtube OAuth, but nothing is working.

I have my private key and app ID set up. I have tried to use a workflow to get this to work, but it says I’m ‘missing information’.

The idea is simple. I want a user to sign in via their Youtube account so I can pull certain data from their Youtube account.

I’M GOING INSANE.

Please, can anyone help me get this situation taken care of?

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/8/6/86e34e4937550c82a099ff28ac3a53c4ee6b98ac.png)

---

<div class="post-metadata">

**Author:** ![cameron1](https://avatars.discourse-cdn.com/v4/letter/c/eb9ed0/32.png) [@cameron1](https://forum.bubble.io/u/cameron1)\
**Post date:** [March 28, 2021, 2:36am UTC](https://forum.bubble.io/t/im-going-insane-and-need-help/143466/2 "2021-03-28T02:36:49Z")

</div>

bump!

---

<div class="post-metadata">

**Author:** ![lantzgould](https://avatars.discourse-cdn.com/v4/letter/l/ecccb3/32.png) [@lantzgould](https://forum.bubble.io/u/lantzgould)\
**Post date:** [March 28, 2021, 3:03am UTC](https://forum.bubble.io/t/im-going-insane-and-need-help/143466/3 "2021-03-28T03:03:16Z")

</div>

It looks like you’re missing the user profile endpoint. And perhaps be using use generic redirect.

Make sure to have values in the dev section, as you’ll need to run your app with debug mode on to initialize the connection.

---

<div class="post-metadata">

**Author:** ![cameron1](https://avatars.discourse-cdn.com/v4/letter/c/eb9ed0/32.png) [@cameron1](https://forum.bubble.io/u/cameron1)\
**Post date:** [March 28, 2021, 3:23am UTC](https://forum.bubble.io/t/im-going-insane-and-need-help/143466/4 "2021-03-28T03:23:38Z")

</div>

Thanks for the response!

I’ve been searching and scouring the lands near and far for the user endpoint. For Youtube it’s not easily searchable, unlike Spotify that has a link page dedicated to the endpoint. I’ve spent countless hours searching for Youtube’s user endpoint. I am also assuming this is the missing key.

I have since put it in both the key and the secret in the dev input; I’ve also enabled the generic redirect. Still an error.

![image](https://us1.discourse-cdn.com/bubble/original/3X/7/e/7e201ef2e0054f89abbc131637a81c9e7fe4a15b.png)

I’ve even added the endpoint `https://www.googleapis.com/youtube/v3/channels` in hopes that shooting blindly will somehow be a net positive.

Any help would be amazing.

---

<div class="post-metadata">

**Author:** ![lantzgould](https://avatars.discourse-cdn.com/v4/letter/l/ecccb3/32.png) [@lantzgould](https://forum.bubble.io/u/lantzgould)\
**Post date:** [March 28, 2021, 3:28am UTC](https://forum.bubble.io/t/im-going-insane-and-need-help/143466/5 "2021-03-28T03:28:19Z")

</div>

Hm. Try using `https://accounts.google.com/oauth2/v2/userinfo` for the user endpoint, then run in debug mode with sign in using social network.

---

<div class="post-metadata">

**Author:** ![cameron1](https://avatars.discourse-cdn.com/v4/letter/c/eb9ed0/32.png) [@cameron1](https://forum.bubble.io/u/cameron1)\
**Post date:** [March 28, 2021, 3:49am UTC](https://forum.bubble.io/t/im-going-insane-and-need-help/143466/6 "2021-03-28T03:49:54Z")

</div>

Great suggestion. Unfortunately, even with my dev keys filled and that added as the user endpoint, it still says it’s not configured properly. Any other suggestions? 😓

---

<div class="post-metadata">

**Author:** ![lantzgould](https://avatars.discourse-cdn.com/v4/letter/l/ecccb3/32.png) [@lantzgould](https://forum.bubble.io/u/lantzgould)\
**Post date:** [March 28, 2021, 3:57am UTC](https://forum.bubble.io/t/im-going-insane-and-need-help/143466/7 "2021-03-28T03:57:13Z")

</div>

If you know how to clear cookies & cache for your site, I’d try that. Or, try in Incognito. Feel free to send me a PM if you want me to take a closer look.

---

<div class="post-metadata">

**Author:** ![Pathfix](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/pathfix/32/81906_2.png) [@Pathfix](https://forum.bubble.io/u/Pathfix)\
**Post date:** [March 28, 2021, 6:01am UTC](https://forum.bubble.io/t/im-going-insane-and-need-help/143466/8 "2021-03-28T06:01:57Z")

</div>

Hey @cameron1 use [Pathfix](https://pathfix.com) for this. We handle the entire oauth process and you can call the YouTube endpoint using the API Connector quite easily.

OAuth plugin for the auth element: [Pathfix OAuth Connector Plugin | Bubble](https://bubble.io/plugin/pathfix-oauth-connector-1610512915958x681138150746095600)  
Documentation for Bubble setup: [https://docs.pathfix.com/bubble-user-authorization](https://docs.pathfix.com/bubble-user-authorization)  
Documentation for calling the API: [https://docs.pathfix.com/api-connectivity](https://docs.pathfix.com/api-connectivity)

Hope this helps!

Cheers  
Ron

---

<div class="post-metadata">

**Author:** ![nocodeventure](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/nocodeventure/32/247164_2.png) [@nocodeventure](https://forum.bubble.io/u/nocodeventure)\
**Post date:** [March 28, 2021, 6:54am UTC](https://forum.bubble.io/t/im-going-insane-and-need-help/143466/9 "2021-03-28T06:54:20Z")

</div>

url: [https://www.googleapis.com/oauth2/v1/userinfo](https://www.googleapis.com/oauth2/v1/userinfo)

---

<div class="post-metadata">

**Author:** ![lantzgould](https://avatars.discourse-cdn.com/v4/letter/l/ecccb3/32.png) [@lantzgould](https://forum.bubble.io/u/lantzgould)\
**Post date:** [March 28, 2021, 7:00am UTC](https://forum.bubble.io/t/im-going-insane-and-need-help/143466/10 "2021-03-28T07:00:15Z")

</div>

![image](https://us1.discourse-cdn.com/bubble/original/3X/5/8/58ab9d5e617ac0247a9b1db83681938967754ac4.gif)

Too many versions to keep up with lol

---

<div class="post-metadata">

**Author:** ![cameron1](https://avatars.discourse-cdn.com/v4/letter/c/eb9ed0/32.png) [@cameron1](https://forum.bubble.io/u/cameron1)\
**Post date:** [March 28, 2021, 7:12am UTC](https://forum.bubble.io/t/im-going-insane-and-need-help/143466/11 "2021-03-28T07:12:22Z")

</div>

Awesome! Thanks so much.

Butttt, for some reason, upon testing, I get this: ![image](https://us1.discourse-cdn.com/bubble/original/3X/a/9/a9e66c6a7d60f1d4d9c7752ce9c398763d07b5d0.png)

Here is my updated API connector. You can see that (to my knowledge), I’m doing everything right! Maybe I’m not! Do you have any pointers?

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/b/8/b8ac9bec02197d8f8a2255bb92e12564795bb46b.png)

Grrr!!

---

<div class="post-metadata">

**Author:** ![NigelG](https://avatars.discourse-cdn.com/v4/letter/n/ea5d25/32.png) [@NigelG](https://forum.bubble.io/u/NigelG)\
**Post date:** [March 28, 2021, 9:16am UTC](https://forum.bubble.io/t/im-going-insane-and-need-help/143466/12 "2021-03-28T09:16:02Z")

</div>

> [@lantzgould](#):
>
> [https://accounts.google.com/oauth2/v2/userinfo](https://accounts.google.com/oauth2/v2/userinfo)

You probably don’t have the right scope to be able to do this. Maybe add this.

[https://www.googleapis.com/auth/userinfo.profile](https://www.googleapis.com/auth/userinfo.profile)

Not sure that is, however, the best way to do it.

All “User Endpoint” does is allow Bubble to find some sort of “id” to reference the user for next time.

You might be better picking a youtube get user?

[https://www.googleapis.com/auth/youtube.readonly](https://www.googleapis.com/auth/youtube.readonly)

---

<div class="post-metadata">

**Author:** ![cameron1](https://avatars.discourse-cdn.com/v4/letter/c/eb9ed0/32.png) [@cameron1](https://forum.bubble.io/u/cameron1)\
**Post date:** [March 28, 2021, 7:29pm UTC](https://forum.bubble.io/t/im-going-insane-and-need-help/143466/13 "2021-03-28T19:29:40Z")

</div>

> [@NigelG](#):
>
> [https://www.googleapis.com/auth/userinfo.profile](https://www.googleapis.com/auth/userinfo.profile)

This is the correct scope. Wow, problem solved.

Now all I have to do is add the correct GET functions.

I may post here in the future, but FINALLY, it works.

Thank you so much.
