-
Notifications
You must be signed in to change notification settings - Fork 973
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Azure AD authentication: Implementation #1311
Conversation
packages/cli/src/commands/generate/auth/templates/azureAd.auth.js.template
Outdated
Show resolved
Hide resolved
@jeliasson You've done amazing work here, thanks @dthyresson for reviewing this :) |
Hey all 🖐 @dthyresson I have implemented token validation (using Auth0 decoder example, thanks for pointing me in that direction!) and a better auth template for Azure Active Directory which picks up the roles nicely. By any chance you can have another review at your convenience? 🙏 @thedavidprice By any chance you can estimate time on the Latest documentation can be seen on this preview. Will need some more work tho. Finally, is there any (long-term) "strategy" what various token claims that should be surfaced to /cc @peterp |
@jeliasson I'm sure @thedavidprice wouldn't mind some help with #1307 and #1309. If you want to jump in and do some work on those I'd be happy to review/merge to give you a canary to try 🙂 |
@Tobbe Unfortunately I'm swamped with work this month, otherwise I would catch up on those and jump right in. I would like to focus on the authentication, test in a real-life application from a canary, and I'll be happy to contribute to If canary is not possible, is there any nice way of patching something under |
@jeliasson You could voice your support for the issue I just created 🙂 #1458 |
Hope this will be released soon😁🙏🙇♂️ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that I've worked with this code (#1536) I feel I can read this and provide some feedback. Mostly nitpicking comments, but since you'll need to handle merging this with the new Supabase stuff anyway, I figured you could take a look at my minor comments as well.
Another thing you could do, that I forgot when I did the Supabase stuff, is update the comment at the end of the auth README, with the list of auth providers (please add Supabase as well if you do 🙂)
If you fix the comments and rebase your code I'll make sure we get this merged. No need to wait for @thedavidprice's setup
stuff. We can move this over to setup
later together with every other auth generator.
Co-authored-by: Tobbe Lundberg <tobbe@tlundberg.com>
…wood into feat/auth-azure-ad
No method that corresponds with this in MSAL's UserAgentApplication class https://pub.dev/documentation/msal_js/latest/msal_js/UserAgentApplication-class.html#constructors
Thanks for the help @Tobbe and @dthyresson! ❤️ I'll bring in the canary release to redwoodjs/playground-auth#6 for final testing, and have another glance on the documentation in https://github.com/redwoodjs/redwoodjs.com/pull/407. /ping @andrew-hwahin @AndrewLamYW |
Million thanks for the effort!🙏❤️ @jeliasson @Tobbe @dthyresson I think this will definitely drives more RedwoodJS adoption for projects which has the requirement to use AzureAD. |
This PR seeks to implement Azure AD as authentication in the
@redwoodjs/auth
package.See #1310