redwoodjs / playground-auth

This repo demonstrates all the authentication providers that Redwood supports
https://redwood-playground-auth.netlify.app/
MIT License
34 stars 25 forks source link

WIP: Azure AD B2C provider #110

Open Leon-Sam opened 2 years ago

Leon-Sam commented 2 years ago

Hey all,

I made several changes in order to add Azure AD B2C.

Changes

  1. Bumped Redwood and some friends to latest. I was getting multiple local build failues due to prisma and Tailwind dark mode
  2. Added conditional logic to not make assumptions about provider client type on homepage
  3. Added logic/data for new Azure AD B2C component
  4. Had to temporarily disable Supertokens, since the current implementation is hijacking my auth code flow redirect

Relate PR

[Main Redwood Repo PR # 5781] (https://github.com/redwoodjs/redwood/pull/5781)

External help needed:

Note

I couldn't find a proper logo for Azure AD B2C, so i just tweaked the normal Azure AD logo. :hand_over_mouth: I would leave it untouched, but the current Homepage implementation would show two duplicate logos with no context.

Testing

Works..I'm getting an API response error, but the currentUser details is coming through fine. image

netlify[bot] commented 2 years ago

Deploy request for redwood-playground-auth pending review.

Visit the deploys page to approve it

Name Link
Latest commit f47760159acc7cdc164b0a221a246de3b3e7dd5e