Тёмный

Accessing google API's within your bubble app with a REFRESH TOKEN 

The Wise Bubbler
Подписаться 2,9 тыс.
Просмотров 6 тыс.
50% 1

Access my bubble editor here: LINK IS FIXED AND UPDATED wisenocoder.bu...
In this video I go over how to access google API's after the user signs up with bubble/ other authentication. I also review how to store and manage the access/refresh token so the user only has to request access once. This is useful for integrating with: google calendar api, google analytics, gmail, google drive, google sheets

Опубликовано:

 

7 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 47   
@zulfiqaralikhan3227
@zulfiqaralikhan3227 Год назад
One thing is clear, I am going to watch all your videos
@mykonoshd
@mykonoshd Год назад
LIFE saving video. Awesome stuff man!
@Ben-eu4ut
@Ben-eu4ut Месяц назад
Is it just me or at around 13:00 you completely skipped a critical step (backend API workflow, how do I set it up?)
@dormuallem5055
@dormuallem5055 3 месяца назад
I watched all you videos, great work, I do have a question about the refresh token, I noticed that you call for the refresh token when needed, (when a button is clicked, and an event need to be on google calender) but what if I just want to view my calendar in my bubble app? how to keep it refreshed?
@dormuallem5055
@dormuallem5055 3 месяца назад
I mean, first time I log in and connect the bubble I have this code, but when I logout and back in, the code isn't there anymore
@giombelligilberto
@giombelligilberto Год назад
Great video... thanks a lot.... Please show how to conect analytics api data...
@wisebubbler
@wisebubbler Год назад
Considering it.. What's your use case?
@giombelligilberto
@giombelligilberto Год назад
@@wisebubbler I am developing an APP to e-commerce where the users can view the analytics data from their Google account. I did the o-auth2 authentication and need to know next step.
@techpathfound
@techpathfound Год назад
Hi @wisebubbler But this video is incomplete. How do we initialize the get authorization code call? how do we run the get new code call? I followed all the steps but i am unable to initialize the call. I also bought the editor instance but no luck
@wisebubbler
@wisebubbler Год назад
apologize with the delay, I've been swamped lately. I just made a more in depth video going through the whole process start to finish ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-W6soB1t0VXQ.html . Hopefully will answer your questions
@toba-bonjour
@toba-bonjour Год назад
How could you write (at 12:50): refresh token = result of step 1 (Google manual oau...)'s refresh_token as your "Get authorization code" call does not have any refresh token key parameter?
@wisebubbler
@wisebubbler Год назад
Not sure exactly what you mean.. clearly it does return a refresh token. Are you not receiving one on your end?
@glistvon-.359
@glistvon-.359 Год назад
@@wisebubbler I can't get refresh token too, only access token.
@trentwatkins2172
@trentwatkins2172 2 года назад
How are you able to leave the code parameter empty in the get oauth token call? I get an error.
@wisebubbler
@wisebubbler Год назад
You need to fill it in, I just left it empty for the template
@joseantonioribeiro8439
@joseantonioribeiro8439 2 года назад
Thank you a lot for this video. It's very useful.
@avalancherelapse
@avalancherelapse Год назад
how do you actually use refresh tokens? i understand that after one hour passes the access token becomes invalid, but im not sure what call should be made with the refresh token.
@wisebubbler
@wisebubbler Год назад
Check out this video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-W6soB1t0VXQ.html
@hillaryprager242
@hillaryprager242 Год назад
i'm stuck at 12:43... where did you get the google manual oath - get verification code action from? Im assuming you created it elsewehere first?
@wisebubbler
@wisebubbler Год назад
Check out this video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-W6soB1t0VXQ.html
@emiliomadriz1721
@emiliomadriz1721 Год назад
Is there a way to do this with the user agent flow oath2 method that you showed on the previous video? Or it's necessary to do the authorization opening the external URL?
@wisebubbler
@wisebubbler Год назад
It’s necessary if you want a refresh token, bubble doesn’t expose the refresh token
@emiliomadriz1721
@emiliomadriz1721 Год назад
​@@wisebubbler I'm having trouble when I send the call for the authorization code, it gives back the access token but no refresh token(I put the access_type as offline), instead I'm receiving ID token, any suggestion about that?. Thank you for your help in advance.
@wisebubbler
@wisebubbler Год назад
What scopes are you using?
@emiliomadriz1721
@emiliomadriz1721 Год назад
@@wisebubbler Sorry for the late reply, I solved it by adding prompt=consent in the open an external URL workflow, now I get the refresh token, my question is, the access token expires in 1h, and I captured the access token and refresh token on my user as you explained in the video, how can I get to refresh the access token, because it won't do it even when I configured the POST refresh token on the API connector
@wisebubbler
@wisebubbler Год назад
@@emiliomadriz1721 Check out this video... I go over in more depth how to do the initialization of the api calls: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-W6soB1t0VXQ.html
@atomparish
@atomparish Год назад
Really really really needed this video. Thanks!
@galdx_
@galdx_ Год назад
nice, but incomplete... makes no sense to jump and call the api without talking about it first..
@subsub8952
@subsub8952 Год назад
Hi, I integrated blogger api, but I can't get refresh tokens ..y?
@wisebubbler
@wisebubbler Год назад
I need more info. Does the api call work?
@atomparish
@atomparish Год назад
How can I initalize the bubble api call? I tried using a code that was returned but I get this error "error": "invalid_grant",
@wisebubbler
@wisebubbler Год назад
Try disabling the workflow that calls the api to get the token and them copying and pasting the code form the url to initialize it and then enable the workflow again. If you have gmail you can use: wisebubbler+1(enter anything here)@gmail.com to create new accounts for testing
@atomparish
@atomparish Год назад
​@@wisebubbler Thanks for the replay on this. I was able to intalize it manually but when I test it out it doesn't get the refresh token or access token. I think it is still having this error. When I test on postman I get the same thing... Status code 400 { "error": "invalid_grant", "error_description": "Bad Request" }
@techpathfound
@techpathfound Год назад
@@atomparish i have thi same issue.
@nurbek3575
@nurbek3575 Год назад
@@techpathfound You solve it?
@OpenOcean-Innovation
@OpenOcean-Innovation Год назад
I have this issue now too. Weird part is I was able to do it successfully before on a test page, now I am redoing on the real page and had to change redirect uri, and can't get rid of this error :/
@nairobitelly
@nairobitelly Год назад
Hi @wisebubbler does it mean that every after the seconds end I need to generate a new token forever? What if I do not want users to be always clicking the connect to calendar button for consent and instead do it once and use that token whenever they want to, is that possible ??
@wisebubbler
@wisebubbler Год назад
See my video on adding events to google calendar example. You don’t need to keep refreshing, you just refresh as needed
@wisebubbler
@wisebubbler Год назад
Watch my video on add events to google calendar example. You just need to generate them as needed
@nairobitelly
@nairobitelly Год назад
@@wisebubbler Thanks a bunch
Далее
Google Oauth on bubble.io using the api connector
15:03
How I would learn bubble (If I could start over)
10:56
Мама знает где все документы
00:21
Gmail-OAuth2.0 Using Postman
19:39
Просмотров 16 тыс.
I was wrong about Bubble
7:22
Просмотров 2,3 тыс.
Add Google Hosted Authentication to a Python Flask App
12:55
An Illustrated Guide to OAuth and OpenID Connect
16:36
Просмотров 584 тыс.