Authenticate users using google in Unity and Firebase with OAuth2.0

  Рет қаралды 1,372

JoystickLab

JoystickLab

Күн бұрын

Enroll to AR Masterclass: ar.joysticklab.com get 70% discount on early bird price.
If you have already tried Google Authentication in ‪@unity‬ and ‪@Firebase‬ you know the pain. In this tutorial, I show you how you can let your users authenticate with Firebase using their Google Accounts with the help of OAuth2.0. This method works for both iOS and Android.
Join our public Facebook group:
/ xr.joysticklab

Пікірлер: 20
@MarllonVilano
@MarllonVilano 2 ай бұрын
I came from Unity Forum, thanks a lot for that tutorial. That is exactly what I was trying to achieve some months ago with the Built-in Unity solution (which is abandoned by the developers).
@JoystickLab
@JoystickLab 2 ай бұрын
Glad to help. I was in a same situation so had to find this solution hard way 🙂.
@akakoakako
@akakoakako Ай бұрын
something is not clear here with the redirect URI. im getting an error at the original test. im not developing for IOS but andoird but still it should work right?
@vamseeeesmav459
@vamseeeesmav459 2 ай бұрын
Hey, thanks for this. Do you any info that you could share on how to connect the google sign in with Unity's UGS using the OpenID?
@JoystickLab
@JoystickLab Ай бұрын
It should be the same, just get the token using the same process and then pass that to the UGS google sign in.
@doublehitgames531
@doublehitgames531 Ай бұрын
Hey i came from Unity Forum too, first for all, ty for this. So a have a doubt could you gime some light? Can i use this way to google Sign and acesss the Unity Liveops services too? Basicaly i need to use a Google Sign to connect my user to Unity LiveOPS services like Cloud Save.
@JoystickLab
@JoystickLab Ай бұрын
Thanks for coming here 🙂. I haven’t personally tried UGS , but it should be possible. You just need to generate token with the tutorial and then pass it to the UGS system, like the documentation says docs.unity.com/ugs/en-us/manual/authentication/manual/platform-signin-google#Sign_in_a_returning_player_or_create_new_player
@aashishsharma2692
@aashishsharma2692 Ай бұрын
Hello I am getting error with Editor and with IOS as well, in Editor I am getting this error "You can't sign in to this app because it doesn't comply with Google's OAuth 2.0 policy for keeping apps secure.", I followed the same steps but its not working, and for IOS I was able to continue with login but after clicking Continue I am getting error "Safari can't open the application" I am using the same Bundle Identifier with ":/". Please help
@JoystickLab
@JoystickLab Ай бұрын
I think you might have made some mistake on you GCP panel. Make sure in gcp you have the same approved url like the one used on your code. And for iOS the bundle identifier. 🤔
@aashishsharma2692
@aashishsharma2692 Ай бұрын
@@JoystickLab thanks for the reply for the editor I followed the same step as mentioned in video, and for IOS I used the bundle Id with ":/" but I am unable to open app as mentioned at start of the video I checked your video multiple times but no success :(
@doublehitgames531
@doublehitgames531 Ай бұрын
@@aashishsharma2692 make sure that your app is published in GCP Auth concent screen. You need apply to publish it
@dilyobsafarov6678
@dilyobsafarov6678 Ай бұрын
"Error 400: redirect_uri_mismatch" - Why?? I did everything like you did?
@JoystickLab
@JoystickLab Ай бұрын
Your redirect url in the code and gcp might be different
@akakoakako
@akakoakako Ай бұрын
@@JoystickLab im not sure if I understand im sorry, could you please elaborate?
@akakoakako
@akakoakako Ай бұрын
@@JoystickLab I mean in the tutorial you did not finally put anything there
MVVM vs. MVI - Understand the Difference Once and for All
18:40
Philipp Lackner
Рет қаралды 34 М.
NestJS & Google OAuth2 with Passport
1:12:18
Anson the Developer
Рет қаралды 35 М.
DEFINITELY NOT HAPPENING ON MY WATCH! 😒
00:12
Laro Benz
Рет қаралды 58 МЛН
Mom's Unique Approach to Teaching Kids Hygiene #shorts
00:16
Fabiosa Stories
Рет қаралды 22 МЛН
Smart Sigma Kid #funny #sigma #comedy
00:26
CRAZY GREAPA
Рет қаралды 8 МЛН
What it feels like cleaning up after a toddler.
00:40
Daniel LaBelle
Рет қаралды 71 МЛН
Setting Up Google Authentication in Firebase 9: A Step-by-Step Guide
15:08
Brett Westwood - Software Engineer
Рет қаралды 15 М.
Flutter 3.22 and Dart 3.4 recap (Google IO 2024)
24:23
imaN NeO
Рет қаралды 4,7 М.
Why didn't the Angular team just use RxJS instead of Signals?
8:15
Joshua Morony
Рет қаралды 89 М.
How to build a Web AR app using Snap Camera Kit's Free SDK
18:00
JoystickLab
Рет қаралды 1,4 М.
#9 - Dax Raad: Local-First SaaS
1:02:55
Local First Podcast
Рет қаралды 6 М.
Unity Tutorial - Google Sign-In For Mobile Apps
33:39
Dylan Simon
Рет қаралды 98
Cross-Site Request Forgery (CSRF) Explained
14:11
PwnFunction
Рет қаралды 438 М.
ГОСЗАКУПОЧНЫЙ ПК за 10 тысяч рублей
36:28
Ремонтяш
Рет қаралды 544 М.
Зачем ЭТО электрику? #секрет #прибор #энерголикбез
0:56
Александр Мальков
Рет қаралды 637 М.
КРУТОЙ ТЕЛЕФОН
0:16
KINO KAIF
Рет қаралды 6 МЛН
S24 Ultra and IPhone 14 Pro Max telephoto shooting comparison #shorts
0:15
Photographer Army
Рет қаралды 9 МЛН