How we built an account creation popup for Google and Outlook OAuthby@dinkydani
6,070 reads
6,070 reads

How we built an account creation popup for Google and Outlook OAuth

by Danielle5mMay 8th, 2019
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

At Leave Me Alone we use Google and Microsoft OAuth for user sign in. Instead of redirecting it would be better if we could open a new window or popup for the OAuth flow. We use Passport for our authentication so when the user is directed back to our app after signing in the URL contains some parameters we need, including a token we use to authenticate them on our server. The process is quite simple and all we have done is add an intermediary step to pass through the callback parameters.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail

Coin Mentioned

Mention Thumbnail
featured image - How we built an account creation popup for Google and Outlook OAuth
Danielle HackerNoon profile picture
Danielle

Danielle

@dinkydani

Co-Founder of Squarecat.io & LeaveMeAlone.app | Indie Dev 👩‍🎤 Dog Lover 🐶 Nomad 🎒

About @dinkydani
LEARN MORE ABOUT @DINKYDANI'S
EXPERTISE AND PLACE ON THE INTERNET.

Share Your Thoughts

About Author

Danielle HackerNoon profile picture
Danielle@dinkydani
Co-Founder of Squarecat.io & LeaveMeAlone.app | Indie Dev 👩‍🎤 Dog Lover 🐶 Nomad 🎒

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Also published here
L O A D I N G
. . . comments & more!