Setup Google OAuth sign in 6 minutes

  Рет қаралды 130,309

Appwrite

Appwrite

Күн бұрын

Learn how to add google sign in into your website with Appwrite.
Article: www.appwrite.i...
Instructor: / dennisivy11 / / dennis-ivanov
💬 Follow Appwrite on social media & join our Discord community.
• Twitter: / appwrite
• Discord: appwrite.io/di...
• LinkedIn: / appwrite

Пікірлер: 115
@jlambert12013
@jlambert12013 9 ай бұрын
Finally, a tutorial that's to the point!
@gamingarea9011
@gamingarea9011 11 ай бұрын
Now that's what i wanted. Can you also make Facebook login
@alexander499zero
@alexander499zero 6 ай бұрын
Facebook is useless
@WilliamCunningham-v3o
@WilliamCunningham-v3o 2 ай бұрын
This was very helpful and enabled me to configure some internal apps using OAUTH successfully. Thanks!
@Appwrite
@Appwrite 2 ай бұрын
Glad it helped!! - Dennis Ivy
@BeastRacid
@BeastRacid 3 ай бұрын
That tutorial doesn't explain too much for someone, who is not familiar with this exact web project. It would be better to show the whole process of implementing all of these functions, buttons and SDK libs from the very beginning of the website project existence - that is, onto plain index.html with no content included before the tutorial walk-through was recorded. It is more of an example of a ready project, with its own very specific concept of how the website and login screen should look like. Not showing the whole project idea within the video causes a few difficulties in understanding. For instance: *where* is the script responsible for triggering the handleLogin() function? I assume it's the event listener on that button, but that is not shown on the video. I had to guess it myself. There is also the following function handling logging out, which was displayed for a few seconds on the video and not mentioned completely. Poor explanation of the logging in/out concept. And I think it would be nice to add "with AppWrite" to the title of the video, because I found it looking for plain and simple explanation of Google OAuth in JavaScript. I didn't ask for 3rd party products and solutions.
@Appwrite
@Appwrite 3 ай бұрын
You can reference the source code for the project in the attached repo. This example uses "Sign in with Apple," but the core concepts are the same. All you need to do is change the OAuthProvider: github.com/divanov11/apple-signin - Dennis Ivy
@harshdeep7015
@harshdeep7015 10 ай бұрын
Is it now possible for react native apps🤔
@Appwrite
@Appwrite 10 ай бұрын
You could use the the web SDK with react native, although we are working on finalizing a react native SDK at the moment. - Dennis Ivy
@harshdeep7015
@harshdeep7015 10 ай бұрын
@@Appwrite thank you very much for react native sdk
@klaussiebeneicher5418
@klaussiebeneicher5418 Ай бұрын
Would really help, the alternative via web sdk is a mess to set up correctly.
@trikooCreates
@trikooCreates Ай бұрын
thanks for the content, can you please tell me what do you use to record such smooth mouse movements?
@eestiprogrammeerimine1035
@eestiprogrammeerimine1035 9 ай бұрын
Could you put the code in the description please? I seem to have it not work properly
@alexander499zero
@alexander499zero 6 ай бұрын
Yes please😅😊❤
@leoprangstobing7469
@leoprangstobing7469 3 ай бұрын
you need to add eventlistener click to both login and logout button
@akrahman2491
@akrahman2491 11 ай бұрын
Getting this error appwriteexception: user (role: guests) missing…
@Appwrite
@Appwrite 11 ай бұрын
That happens when you first try to get a user when your not authenticated. Once you login the error goes away, so there’s nothing to worry about.
@akrahman2491
@akrahman2491 11 ай бұрын
@@Appwrite after I logged in, it remains the same, what should I do
@Appwrite
@Appwrite 11 ай бұрын
@akrahman2491 even when you refresh the page?
@akrahman2491
@akrahman2491 11 ай бұрын
Yes, after create an account, I again crate a session, still got the error
@Appwrite
@Appwrite 11 ай бұрын
Can you please join the appwrite discord server and open up and issue tagging me (Dennis Ivy)? And explain the tech you are using with some code so I can see. In the issue mention that I said to tag me
@bet_5982
@bet_5982 11 ай бұрын
was refresh token handling fixed? it was supposed to be stored in first log in
@Imam_Faheem_khan
@Imam_Faheem_khan 5 ай бұрын
to the point and quick! i like it
@hieuwhitehat8254
@hieuwhitehat8254 Ай бұрын
How to get some user information, for the purpose of displaying it on the interface, for example, the home page displays HELLO "name user"? . Thanks !
@BusinessAutomatedTutorials
@BusinessAutomatedTutorials 2 ай бұрын
Thank you! That was very helpful! By the way what is the app you use for screen recording?
@Appwrite
@Appwrite 2 ай бұрын
My pleasure 👊 And I use screen studio - Dennis Ivy
@BusinessAutomatedTutorials
@BusinessAutomatedTutorials 2 ай бұрын
@@Appwrite Thank you! Gosh it is Mac only 😂😂 more and more I tempted to switch to Mac, but would miss having ubuntu shell in WSL and likely some of the apps. Thanks!
@marcioheleno
@marcioheleno 2 ай бұрын
Thank you help me a lot.
@oblivion.4190
@oblivion.4190 8 күн бұрын
Thanks a lot !
@nikhilkhanwani4659
@nikhilkhanwani4659 9 ай бұрын
Will it work with android?
@teacher4life775
@teacher4life775 7 ай бұрын
Where he chose web application you would select android
@alexander499zero
@alexander499zero 6 ай бұрын
When you choose web app it will work in any browser
@klopmarch
@klopmarch Ай бұрын
Bro what's that VSC theme
@Ze_Chevalier
@Ze_Chevalier 2 күн бұрын
Google cloud says I have a 90 day trial, after that expires will I need to pay to keep the OAuth login on my website?
@Appwrite
@Appwrite 2 күн бұрын
Short answer: Google OAuth2 is free and will always remain free. Long answer: When you first create a Google Cloud account, you have a 90-day trial for all Google Cloud services. This includes Cloud Storage,, Maps, BigQuery, etc. Some of these services have a limit before you have to pay, so after the 90-day trial, when you cross the free tier, you will be charged. Google OAuth2 is one of the services included in the free tier with no limits, so you don't have to worry about exceeding a limit. - Dennis Ivy.
@Ze_Chevalier
@Ze_Chevalier Күн бұрын
@Appwrite Thanks!
@dwisetyoaji5007
@dwisetyoaji5007 11 ай бұрын
still waiting for 1.5 in cloud, not supported yet? I test this afternoon still throw error
@nitinkumarme
@nitinkumarme 11 ай бұрын
I have also been waiting for Appwrite Cloud 1.5 for a long time.
@Appwrite
@Appwrite 11 ай бұрын
1.5 on Cloud is expected very soon! @@nitinkumarme
@Appwrite
@Appwrite 11 ай бұрын
1.5 on Cloud is expected very soon!
@devXarts_yt
@devXarts_yt Ай бұрын
Hey Great video. Also i have a question. Is it possible to use google authenticator code login to our websites ? If yes then how ?
@antonmevan
@antonmevan Ай бұрын
Can you show us how to create master token?
@Akashic_Monk
@Akashic_Monk 4 ай бұрын
i got lost at 5:00 where do i access or open that code to do that part i got all the way to there then dont know where to go u just opened new thing without showing ?
@ZyrusAlvez
@ZyrusAlvez 3 ай бұрын
it must be ur own code, bruh. he just show how to pur the code into ur code
@sandovalvaz6093
@sandovalvaz6093 5 ай бұрын
Hi, do you know why this error occur? "OAuth 2 parameters can only have a single value: scope"
@fastgaming708
@fastgaming708 4 ай бұрын
can you help me
@mattxruiz
@mattxruiz 4 ай бұрын
remove oauth scopes, save, and then go back in and readd your scopes
@ZeelDadhaniya
@ZeelDadhaniya Ай бұрын
if i am using google as provider and login with google than how can I get user detail like profile picture of user and all ?
@abisarwan20
@abisarwan20 Ай бұрын
hey, i have a question please, is it free without limit of registered user ?
@sowjanyarbhat4715
@sowjanyarbhat4715 3 ай бұрын
Is there a way to pass prompt parameter ? So that each time user is asked before logging in ?
@Appwrite
@Appwrite 3 ай бұрын
Are you referring to turning off prompt notifications on the user's end?
@YuvanthVeluru-l9i
@YuvanthVeluru-l9i 6 ай бұрын
Is the code same for react native?Or does it change for the app?
@freekeys
@freekeys 6 ай бұрын
How can we make our own backend for OAuth?
@christoff124
@christoff124 2 ай бұрын
its not hard
@matinodoom5883
@matinodoom5883 5 ай бұрын
does this work on mobile - react native expo?
@FernandoGutierrez-gz5hk
@FernandoGutierrez-gz5hk 4 ай бұрын
How do I do it with Microsoft?
@arieljordz
@arieljordz 6 ай бұрын
Is it possible to bypass the allow consent since I already allowed it in my first login?
@maxponmar
@maxponmar 11 ай бұрын
I have a problem trying to setup Google auth, I have my appwrite instance running on the port 444, and when I try to do login the redirect url doesn't contain the port, giving me the Error 400: redirect_uri_mismatch. Has anyone had this problem? (I set the url correctly with the port in the client app and in the redirect url setting from Google)
@jovianswank300
@jovianswank300 8 ай бұрын
This is super helpful but considering Android why don't u integrate google sign in api instead of redirect to the browser?
@Appwrite
@Appwrite 8 ай бұрын
Glad it helped. I'll need to look into the Android solutions and discuss this with the team - Dennis Ivy
@RushikeshGangapurkar
@RushikeshGangapurkar 10 ай бұрын
is this works for react native as well??
@alexander499zero
@alexander499zero 6 ай бұрын
Yee probably
@Haroombe
@Haroombe 6 ай бұрын
what do you use for your webcam ?
@Appwrite
@Appwrite 6 ай бұрын
Logitech 4K Pro Webcam
@alexander499zero
@alexander499zero 6 ай бұрын
Squircle in OBS
@xeno_dz
@xeno_dz 5 ай бұрын
vs code theme ?
@MoneyShifted
@MoneyShifted 6 ай бұрын
appwrite don't allow a bypass of installed applications like mobile apps? App write asking to app secret but google don't provide it for Secuity reasons. does this mean i can't have google sign in on my app?
@freekeys
@freekeys 6 ай бұрын
Can you make video: Expo react native + Social auth. With server please 🙏
@MuhammadAmin-q2e
@MuhammadAmin-q2e 6 ай бұрын
I create it and client secret invisible then i remove it and created it again but same issue?
@Appwrite
@Appwrite 6 ай бұрын
Can you ask this question in the Appwrite discord server and provide more details to what you're doing/facing? Link to discord is in the video description. Team is very responsive there :)
@AweSomePeoPle-CH
@AweSomePeoPle-CH 20 күн бұрын
i was introduced to Appwrite by this video yet this video isn't explaining how to set up Appwrite 😒
@Appwrite
@Appwrite 18 күн бұрын
There are several getting started videos on the channel now to setup an appwrite project, especially with the web SDK. Please review those
@thangphan5177
@thangphan5177 6 ай бұрын
Helpful, tks u!
@Appwrite
@Appwrite 5 ай бұрын
:)
@Leon-eh7im
@Leon-eh7im 7 ай бұрын
he is dennis
@Appwrite
@Appwrite 6 ай бұрын
👋
@mustafaozarslan8448
@mustafaozarslan8448 6 ай бұрын
Thanks man
@Appwrite
@Appwrite 5 ай бұрын
:)
@CODEEZILLA
@CODEEZILLA 9 ай бұрын
What app you use for this video (screen recorder)?
@Appwrite
@Appwrite 9 ай бұрын
Screen studio for screen, OBS for headshots. - Dennis Ivy
@CODEEZILLA
@CODEEZILLA 9 ай бұрын
@@Appwrite thank you very much!
@alexander499zero
@alexander499zero 6 ай бұрын
OBS
@shambelhagos472
@shambelhagos472 4 ай бұрын
how can I get the domain
@Appwrite
@Appwrite 3 ай бұрын
Are you referring to the callback URL? You can find this at 4:03 in the video - Dennis Ivy
@kilokiloj
@kilokiloj 7 ай бұрын
defining oath might be useful.
@besufkaddebebe
@besufkaddebebe 6 ай бұрын
What is the redirect url?
@Appwrite
@Appwrite 6 ай бұрын
This is where the user will be sent once a user signs in with google, so it completes the sign in process on Appwrites end and generates a session for you. Remember, you Authenticate with google, but you sign in with appwrite, or whatever platform/custom build you are using. - Dennis Ivy
@Ryan-kx6qw
@Ryan-kx6qw 6 ай бұрын
Do you have the source code of this tutorial?
@Appwrite
@Appwrite 6 ай бұрын
Not yet, I'll need to link it up - Dennis Ivy
@aparmitsrivastava3699
@aparmitsrivastava3699 3 ай бұрын
can i get the code for this ? please someone help
@Appwrite
@Appwrite 3 ай бұрын
I created a branch from the Apple OAuth example that you can find here: github.com/divanov11/apple-signin/tree/google-signin
@ryansamte8874
@ryansamte8874 8 ай бұрын
could you make for react native
@Appwrite
@Appwrite 6 ай бұрын
Noted
@pishnahadebehtar
@pishnahadebehtar 17 күн бұрын
❤‍🔥❤‍🔥❤‍🔥
@charindubandaranayake7888
@charindubandaranayake7888 3 ай бұрын
thanks
@abdallah_eldars
@abdallah_eldars Ай бұрын
it's 7 minutes
@chauquang55
@chauquang55 8 ай бұрын
why you do oath facebook
@Appwrite
@Appwrite 8 ай бұрын
Sorry, not understanding the question. We have a facebook OAuth option - Dennis Ivy
@chauquang55
@chauquang55 8 ай бұрын
@@Appwrite I mean, can you make a clip about Facebook oauth sign in?
@Appwrite
@Appwrite 8 ай бұрын
@chauquang55 ah got it. I can definitely look into that :) - Dennis Ivy
@chauquang55
@chauquang55 8 ай бұрын
@@Appwrite thank you
@swetapandey5725
@swetapandey5725 3 ай бұрын
I have not used his code ...but i am getting error like cannot get /auth/google Can anyone tell me any possible reason for this issue .
@EmmanuelBouillon0
@EmmanuelBouillon0 4 ай бұрын
Merci
@Appwrite
@Appwrite 4 ай бұрын
😉
@NativeCoding-s1e
@NativeCoding-s1e 5 ай бұрын
Repo is required man. otherwise its useless
@Appwrite
@Appwrite 5 ай бұрын
Noted
@daianaarguello9881
@daianaarguello9881 2 ай бұрын
0:33
@daianaarguello9881
@daianaarguello9881 2 ай бұрын
0:33 0:33
React Native Appwrite SDK - Getting started
23:28
Appwrite
Рет қаралды 1,2 М.
OAuth 2.0 explained with examples
10:03
ByteMonk
Рет қаралды 186 М.
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
Google OAuth EASY credentials setup
4:16
Appwrite
Рет қаралды 4,5 М.
Why I chose NOT to use Appwrite
7:57
Appwrite
Рет қаралды 8 М.
How is this Website so fast!?
13:39
Wes Bos
Рет қаралды 1,4 МЛН
React Authentication - Sign In With Google (Supabase)
14:35
Code Commerce
Рет қаралды 3,2 М.
Google Identity Services Login with React (2023 React Google Login)
19:50
Scammers PANIC After I Hack Their Live CCTV Cameras!
23:20
NanoBaiter
Рет қаралды 29 МЛН
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН