Skip to content
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

Read email template from file #37

Open
Jnchi opened this issue Jun 4, 2019 · 1 comment
Open

Read email template from file #37

Jnchi opened this issue Jun 4, 2019 · 1 comment

Comments

@Jnchi
Copy link
Contributor

Jnchi commented Jun 4, 2019

Currently defined in the source as,

#define USER_PROMPT "An email with a one-time passcode was sent to your email." \
	            "\nEnter the code at https://aka.ms/devicelogin, then press enter.\n"

Template should be stored in /etc/aad/template.d/, (See: CyberNinjas/libnss_aad#5); or similar; add this to the config file via template_dir.

Example

Contents of /etc/pam_aad.conf:

{ 
  "client": {
    "id": "{{client_id}}"
  },
  "domain": "{{domain}}",
  "group": {
    "id": "{{group_id}}"
  },
  "smtp_server": "{{smtp_server}}",
  "tenant": {
    "name": "{{organization}}.onmicrosoft.com",
    "address": "{{organization_email_address}}"
  },
  "template_dir": "{{template_dir}}"
}
@Jnchi Jnchi added this to To do in Tasks via automation Jun 4, 2019
@Jnchi
Copy link
Contributor Author

Jnchi commented Jul 26, 2019

@eredisg, see the new description.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Tasks
To do
Development

No branches or pull requests

1 participant