Share your repls and programming experiences

← Back to all posts
Google Login System
h
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
GameDev46
Corus
DREWNOLT
WyattKinzer1
Spiered
techgeek680
TINAWANG5
staticvoidliam7
NicoMancinelli
Anoki21
Comments
hotnewtop
nN34398Ff

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

RohilPatel

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

nN34398Ff

@RohilPatel yeet lol

RohilPatel

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

NotTani

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

RohilPatel
LalithSasubilli

Hey rohil

RohilPatel
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]

pepijnvereecken

het werkt niet

techgeek680

wow!

RohilPatel
[deleted]

Please create a privacy policy.

RohilPatel

Not a bad idea! @CodeABC123

[deleted]

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

RohilPatel

Actually? @CodeABC123

staticvoidliam7

hmmmm did you get the idea from me lol jk

RohilPatel
staticvoidliam7

still its cool @RohilPatel

RohilPatel
nN34398Ff

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

RohilPatel

yea!! @nN34398Ff

nN34398Ff

@RohilPatel I upvoted this lol

RohilPatel
[deleted]

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

RohilPatel

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

[deleted]

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

RohilPatel

HASHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHA! THATS SO TRUE @CreeperKING112

SeanLynch3

Do you care if I fork this and make some improvments

RohilPatel

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

SeanLynch3

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

RohilPatel

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

SeanLynch3
RohilPatel
SeanLynch3

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

RohilPatel

Sometimes I do to lol @SeanLynch3

SeanLynch3

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

RohilPatel

Oof ok @SeanLynch3

SeanLynch3
SeanLynch3

I kinda wanna see if can hack this

RohilPatel

Hack my repl? U can pretty easily @SeanLynch3

AgastyaSandhuja

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

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

AgastyaSandhuja

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

RohilPatel

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

[deleted]

Very Impressive... I'm jealous

RohilPatel

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

[deleted]

@RohilPatel nope lol

RohilPatel

Are u Henry martin? @IreoluwaRaufu

[deleted]

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

RohilPatel

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

thejoeman24

I found this on RoseWeb
I love it!

RohilPatel

Thank you! @thejoeman24

Theboys619

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

RohilPatel

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

Theboys619

Because using the -- site doesn't work because the URIs are mismatched.
Using https://oauth--rohilpatel.repl.co/

Using https://oauth.rohilpatel.repl.co/auth/login

@RohilPatel

RohilPatel

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

RohilPatel

Does it now work with both? @Theboys619

Theboys619
RohilPatel

So it should work for everyone? @Theboys619

Theboys619

Yes I believe @RohilPatel

RohilPatel

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

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

Theboys619

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

RohilPatel
RohilPatel

What's ur discord? @Theboys619

Theboys619

Theboys619#7444 @RohilPatel

RohilPatel

Friended u @Theboys619

Theboys619

Accepted @RohilPatel

RohilPatel
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.

RohilPatel

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

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

RohilPatel

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

AdCharity

@RohilPatel :| mismatched uris

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

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.

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.

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

RohilPatel

They appear to be the same @Theboys619

RohilPatel

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

RohilPatel

So then I need two URLs? @Theboys619

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.

AdCharity

@RohilPatel you can add as many as you want really

RohilPatel
AdCharity

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

RohilPatel
RohilPatel

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

AdCharity

:| Passport obviously

RohilPatel

It works for you? @AdCharity

AdCharity
replitcode

404 error rohil

RohilPatel

Works for me @replitcode

replitcode
RohilPatel

Ok, err fixed @replitcode

replitcode

@RohilPatel awesome, i'll check it out

RohilPatel

Upvote if it worked! @replitcode

replitcode

@RohilPatel Upvoted Bud!

RohilPatel

ty!!!! @replitcode

replitcode

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

SilentShadowBla

when i click login this happens...

RohilPatel

Err fixed @SilentShadowBla