Skip to content
← Back to Community
Google Login System
Profile icon
RohilPatel

Hello everyone! I made a google login system! It took a while, but it was worth it in the end.

Took 7 hrs to make

THIS IS A SECURE PROFILE SINCE IT IS WITH GOOGLE. I CANNOT RECIEVE YOUR PASSWORD BY ANY MEANS.

Do vote up this post if you like it and if it works for you!

Voters
Profile icon
MrMOHDRX
Profile icon
GameDev46
Profile icon
Corus
Profile icon
DREWNOLT
Profile icon
WyattKinzer1
Profile icon
Spiered
Profile icon
techgeek680
Profile icon
TINAWANG5
Profile icon
staticvoidliam7
Profile icon
NicoMancinelli
Comments
hotnewtop
Profile icon
nN34398Ff

THAT IS AMAZING!!!!!!!!!!!!!!!!!!!!!!!!
HOW IS THAT EVEN POSSIBLE????
ARE YOU A HACKRE?!!?!?!?!?!

Profile icon
RohilPatel

Oh yes! I'm a big boy hacker! @nN34398Ff

Profile icon
nN34398Ff

@RohilPatel yeet lol

Profile icon
RohilPatel

Do u know html, css, js? Wanna do collaboration? @nN34398Ff

Profile icon
NotTani

@nN34398Ff If you want to create something like this, look up OAUTH and Sign In With Google

Profile icon
RohilPatel
Profile icon
ninjadev64

Couldn’t you just use firebase authentication……….

Profile icon
LalithSasubilli

Hey rohil

Profile icon
RohilPatel
Profile icon
LalithSasubilli

@RohilPatel
Hey man! Can you make me this system? I will paypal you man. I really need to make google login system. I dont know how. Maybe we can meet on zoom? mail me here:[email protected]

Profile icon
pepijnvereecken

het werkt niet

Profile icon
techgeek680

wow!

Profile icon
RohilPatel
Profile icon
[deleted]

Please create a privacy policy.

Profile icon
RohilPatel

Not a bad idea! @CodeABC123

Profile icon
[deleted]

And I’m never going to use this thing without it. @RohilPatel

Profile icon
RohilPatel

Actually? @CodeABC123

Profile icon
staticvoidliam7

hmmmm did you get the idea from me lol jk

Profile icon
RohilPatel
Profile icon
staticvoidliam7

still its cool @RohilPatel

Profile icon
RohilPatel
Profile icon
nN34398Ff

I can't believe my worthless text speed editor is more popular than this; people should start paying attention to the goodies

Profile icon
RohilPatel
Profile icon
nN34398Ff

@RohilPatel I upvoted this lol

Profile icon
RohilPatel
Profile icon
[deleted]

@nN34398Ff people might like your project better so it might not be worthless after all.

Profile icon
RohilPatel

Well, u better not be saying this is worthless lol @CreeperKING112

Profile icon
[deleted]

@RohilPatel it.....IS!JK also nice you can replace gmail with this! not sure if that made sense. but not worth less.

Profile icon
RohilPatel

HASHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHA! THATS SO TRUE @CreeperKING112

Profile icon
SeanLynch3

Do you care if I fork this and make some improvments

Profile icon
RohilPatel

No, as long as you don't make a post about it, and joining my project! What's ur discord? @SeanLynch3

Profile icon
SeanLynch3

Qmt-Malware#9048 but if u need to contact me email [email protected]@RohilPatel

Profile icon
RohilPatel

I see u already have CyberChat! U a fan? Lol @SeanLynch3

Profile icon
SeanLynch3
Profile icon
RohilPatel
Profile icon
SeanLynch3

XD I also code on a school ipad with halal restrictions @RohilPatel

Profile icon
RohilPatel

Sometimes I do to lol @SeanLynch3

Profile icon
SeanLynch3

Hey use that email and email me cuz I grounded from all my electronics
@RohilPatel

Profile icon
RohilPatel
Profile icon
SeanLynch3
Profile icon
SeanLynch3

I kinda wanna see if can hack this

Profile icon
RohilPatel

Hack my repl? U can pretty easily @SeanLynch3

Profile icon
AgastyaSandhuja

this is very cool.
You never fail to surprise the repl.it community with more and more projects!

Profile icon
RohilPatel

Thank you very much. I'm sorry, I haven't noticed you if you have been following my projects, but I'd like to make it up to you if I could get your discord. Thank you! @AgastyaSandhuja

Profile icon
AgastyaSandhuja

sure! My discord is AwesomeAg#3141
we could collab on a project one time! @RohilPatel

Profile icon
RohilPatel

I friended you! I would love to do a collab! @AgastyaSandhuja

Profile icon
[deleted]

Very Impressive... I'm jealous

Profile icon
RohilPatel

Lol. Are u Dan L games? Check the console! @IreoluwaRaufu

Profile icon
[deleted]

@RohilPatel nope lol

Profile icon
RohilPatel

Are u Henry martin? @IreoluwaRaufu

Profile icon
[deleted]

@RohilPatel bro chill u tryna steal my identity or sumthin lmao

Profile icon
RohilPatel

No lol, I can't or google would have been sued by now @IreoluwaRaufu

Profile icon
thejoeman24

I found this on RoseWeb
I love it!

Profile icon
RohilPatel

Thank you! @thejoeman24

Profile icon
Theboys619

To get it to work replace the two dashes in the url with a dot.

Profile icon
RohilPatel

What would that do? It already works for some people @Theboys619

Profile icon
Theboys619
Profile icon
RohilPatel

Ok, so tell me what to do, but really clearly @Theboys619

Profile icon
RohilPatel

Does it now work with both? @Theboys619

Profile icon
Theboys619
Profile icon
RohilPatel

So it should work for everyone? @Theboys619

Profile icon
Theboys619

Yes I believe @RohilPatel

Profile icon
RohilPatel

Ty so much, but why do people use the non secure version? (Http) instead of https ? @Theboys619

Profile icon
Theboys619

I don't know but I think sometimes it uses the one with a dot (secure or non secure) or with the dashes (secure or non secure). Some repls I have made, and pressing the open button redirected me to the one with a dot. But it appears both of them are hosted with secure and non-secure versions.
@RohilPatel

Profile icon
Theboys619

Tested it on two other devices and I think it should work for others. @RohilPatel

Profile icon
RohilPatel
Profile icon
RohilPatel

What's ur discord? @Theboys619

Profile icon
Theboys619

Theboys619#7444 @RohilPatel

Profile icon
RohilPatel

Friended u @Theboys619

Profile icon
Theboys619

Accepted @RohilPatel

Profile icon
RohilPatel
Profile icon
AdCharity

Also 7 hours is a bit of an understatement. Google requires that you submit your app to be verified to have it set to external users, which takes several days.

Profile icon
RohilPatel

Really, that's not how it was for me........... @AdCharity

Profile icon
AdCharity

@RohilPatel ... I set up OAuth on my code jam thing so ummmmmmmmmmmmmmmmmmmmmmmmm it means you used external services and don't know how flow works /shrug

Profile icon
RohilPatel

I used google console thing-a-mo-bobber and it worked... @AdCharity

Profile icon
AdCharity

@RohilPatel :| mismatched uris

Profile icon
RohilPatel

How tho, @Vandesm14 got it to work, and all the people who liked this got it to work......do u have any idea why it's not working for u? @AdCharity

Profile icon
AdCharity

@RohilPatel mismatched uris means that the configuration of the project is wrong, it's not on my end. Other people have a similar error.

Profile icon
AdCharity

@RohilPatel if it was a different error it could be me, but it's not. Chances are people upvoted it without trying it anyways because you need to open it up in a new tab to actually load Google.

Profile icon
Theboys619

It's because the Redirect URI that was created was https://oauth.rohilpatel.repl.co/auth/login not https://oauth--rohilpatel.repl.co/auth/login
Replace the two dashes with a dot.
Repl.it hosts on both urls one with a dot and one with two dashes
@AdCharity

Profile icon
RohilPatel

They appear to be the same @Theboys619

Profile icon
RohilPatel

But it worked for them, even vandesm said so, and he is in the dB @AdCharity

Profile icon
RohilPatel

So then I need two URLs? @Theboys619

Profile icon
AdCharity

@Theboys619 that doesn't even matter if OAuth is configured correctly in the Cloud Console. Regardless if you a dot or not, they need to be initialized the same way.

Profile icon
AdCharity

@RohilPatel you can add as many as you want really

Profile icon
RohilPatel
Profile icon
AdCharity

@RohilPatel in node.js if you define it correctly you can add as many redirect urls as you want

Profile icon
RohilPatel
Profile icon
RohilPatel

Try it now, does it work. Respond ASAP @AdCharity

Profile icon
AdCharity

:| Passport obviously

Profile icon
RohilPatel

It works for you? @AdCharity

Profile icon
AdCharity
Profile icon
replitcode

404 error rohil

Profile icon
RohilPatel

Works for me @replitcode

Profile icon
replitcode
Profile icon
RohilPatel

Ok, err fixed @replitcode

Profile icon
replitcode

@RohilPatel awesome, i'll check it out

Profile icon
RohilPatel

Upvote if it worked! @replitcode

Profile icon
replitcode

@RohilPatel Upvoted Bud!

Profile icon
RohilPatel
Profile icon
replitcode

@RohilPatel No problem! Do you want to do a collab project some time?

Profile icon
SilentShadowBla

when i click login this happens...

image

Profile icon
RohilPatel