aad-for-linux / aad-for-linux

Azure Active Directory for Linux
https://aad-for-linux.github.io/aad-for-linux
GNU General Public License v3.0
11 stars 3 forks source link

Azure AD Graph API being deprecated in favor of Microsoft Graph API #18

Open oxr463 opened 3 years ago

oxr463 commented 3 years ago

Reference(s):

Source: https://github.com/CyberNinjas/libnss_aad/issues/2

oxr463 commented 3 years ago

EOM: 2020-06-30 EOL: 2022-06-30

oxr463 commented 2 years ago

but have a issue when I was choosing API Permission. The module that is to be used is not available for me to choose

IMG_20211210_052301_426

And in the Authentication, Advanced setting. It say "Select ID tokens, under "Implicit grant"" , But I am not seeing it to selecting

IMG_20211210_052311_620

oxr463 commented 2 years ago

Reference(s):

oxr463 commented 2 years ago

@suleohis per our meeting, it appears we're already using the Graph API in the code. We need to get an SMTP server in order to continue setting up a testing environment, (See: https://github.com/aad-for-linux/infrastructure/issues/7).

oxr463 commented 2 years ago

It appears the code assumes that there is an organization email address, e.g., lucas.ramage@infinite-omicron.com

It takes the username and concatenates it with the domain to create an email address for the user which is then sent the code.

suleohis commented 2 years ago

Try running pam_aad.c file using "cc" but got undefined references as the result.

The command "cc -g pam_aad.c"

Get this as the result IMG_20220127_221949_246 IMG_20220127_221952_617 IMG_20220127_221955_899 IMG_20220127_221958_616

oxr463 commented 2 years ago

@suleohis you're still using the wrong command. You need to run ./configure CFLAGS="-g" per this Stack Overflow post, (See: https://stackoverflow.com/a/18778350/8507637). You cannot invoke cc directly unless you are going to manually include all of the CFLAGS and LDFLAGS that are already declared via autotools.

Try taking a look at this article, https://opensource.com/article/19/7/introduction-gnu-autotools

oxr463 commented 2 years ago

Reference(s):

D0wn3r commented 2 years ago

Hi @oxr463 Do you have an ETA to make your tool works again ? We would like to try it :)

oxr463 commented 2 years ago

No ETA, yet. We're currently in the middle of a partial refactor to use the new API.

You can track the progress of the next release here: https://github.com/aad-for-linux/aad-for-linux/issues/9