cal.com icon indicating copy to clipboard operation
cal.com copied to clipboard

[CAL-527] auth.cal.com

Open zomars opened this issue 3 years ago • 9 comments

TLDR:

  • New Next.js app in monorepo @calcom/auth with the sole purpose of providing auth data between our apps.
  • We won't remove next-auth from @calcom/web yet…
  • Think more like an alternative way to login to Cal.
  • We will embrace the full capabilities of next-auth (multi-account, magic links, OTP, social logins, etc.)
  • Once POC is done we can start testing by pointing @calcom/console to it.
  • If all goes well we can start moving @calcom/web there as well

From SyncLinear.com | CAL-527

zomars avatar Dec 02 '22 19:12 zomars

i am against more than google social login for now, in my experience email + google has highest ratio of benefit and problems

PeerRich avatar Dec 03 '22 14:12 PeerRich

often, people forget which social login they used, so they click on the wrong button and are confused why "all their data is gone"

PeerRich avatar Dec 03 '22 14:12 PeerRich

we can surely offer self-hosters to enable it, but on cal.com I prefer to only have email + google

PeerRich avatar Dec 03 '22 14:12 PeerRich

Agreed

zomars avatar Dec 05 '22 18:12 zomars

I'm delegating this to @leog since he's already doing some foot work with #7204 and this is the perfect fit for it.

zomars avatar Mar 10 '23 00:03 zomars

nice! would this help with subdomain.cal.com as in acme.cal.com or is this unrelated?

PeerRich avatar Mar 10 '23 19:03 PeerRich

Unrelated. Cloud instances will have their own DBs and users.

zomars avatar Mar 10 '23 23:03 zomars

@leog Is this task actually in progress or shall we move back to Todo?

keithwillcode avatar Apr 10 '23 15:04 keithwillcode

@keithwillcode done, good call

leog avatar Apr 10 '23 15:04 leog