Skip to content

WIP: Azure AD B2C provider#110

Draft
Leon-Sam wants to merge 10 commits into
redwoodjs:mainfrom
Leon-Sam:main
Draft

WIP: Azure AD B2C provider#110
Leon-Sam wants to merge 10 commits into
redwoodjs:mainfrom
Leon-Sam:main

Conversation

@Leon-Sam

Copy link
Copy Markdown

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] (redwoodjs/graphql#5781)

External help needed:

  • Update current Supertokens implementation to not interfere with other auth providers
  • Verify that all other Auth providers work with the V2 Redwood bump
  • Update .env file in prod to work with Azure B2C
  • Repair CSS config so Tailwind config works with "darkmode: media"

Note

I couldn't find a proper logo for Azure AD B2C, so i just tweaked the normal Azure AD logo. 🤭 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

netlify Bot commented Jun 20, 2022

Copy link
Copy Markdown

👷 Deploy request for redwood-playground-auth pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit f477601

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants