Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Feature: MFA and device enrollment using the msal Rust library #467

Open
2 tasks done
dmulder opened this issue Feb 29, 2024 · 0 comments
Open
2 tasks done

Feature: MFA and device enrollment using the msal Rust library #467

dmulder opened this issue Feb 29, 2024 · 0 comments

Comments

@dmulder
Copy link

dmulder commented Feb 29, 2024

Is there an existing request for this feature?

  • 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

  • I have redacted any sensitive information from the logs
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant