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

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

May 8th 2019
5 min
by @dinkydani 5,666 reads
tldt arrow
Read on Terminal Reader

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

@dinkydani

Danielle

About @dinkydani
LEARN MORE ABOUT @DINKYDANI'S EXPERTISE AND PLACE ON THE INTERNET.
react to story with heart
Danielle HackerNoon profile picture
by Danielle @dinkydani.Co-Founder of Squarecat.io & LeaveMeAlone.app | Indie Dev 👩‍🎤 Dog Lover 🐶 Nomad 🎒
Read My Stories

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa