aad-auth
aad-auth copied to clipboard
Feature: MFA and device enrollment using the msal Rust library
Is there an existing request for this feature?
- [X] I have searched the existing issues and found none that matched mine
Describe the feature
aad-auth doesn't support Entra ID MFA or device enrollment. I've written a library in Rust that can do this for you: https://crates.io/crates/msal https://docs.rs/msal/0.1.14 https://github.com/himmelblau-idm/microsoft-authentication-library-for-rust
Describe the ideal solution
You can at the very least get simple MFA working by calling into this library's PublicClientApplication instead of the one supplied by Microsoft. Ideally, you should implement device enrollment as well, to get the benefits of having a Primary Refresh Token (PRT) to make additional calls, etc.
Alternatives and current workarounds
No response
Ubuntu users: System information and logs
No response
Non Ubuntu users: System information and logs
Environment
- aad-auth version: please run
aad-cli version - Distribution: (NAME in
/etc/os-release) - Distribution version: (VERSION_ID on
/etc/os-release):
Log files
Please redact/remove sensitive information:
aad-auth logs can be found in the system journal and queried with:
`journalctl | grep _aad`
Application settings
Please redact/remove sensitive information:
You can get the configuration file from /etc/aad.conf
Relevant information
No response
Double check your logs
- [X] I have redacted any sensitive information from the logs