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

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

@dmulder

Description

@dmulder

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions