/facelist

A mod of @tink-ab facelist for Microsoft Graph API

Primary LanguageGoApache License 2.0Apache-2.0

Facelist

An app that queries Microsoft Graph API for user profiles and show them on a simple web page. A fork of https://github.com/tink-ab/facelist.

Configuration

facelist is configured by a config file e.g facelist.yaml:

* emailFilter - Only users with a email ending with this string will be showed
* applicationID, tentantID - 
* graphAPIToken - 
* groupID - 

The API-token requires the scopes:

  • users:read
  • users:read.email

Development

Download external dependencies

$ go mod download

Build and run locally:

$ go build
$ ./facelist

The facelist should be served at http://localhost:8080/

Deploy app

The included dockerfile can be used to deploy the app.

Alernative Local deployment with docker-compose

$ docker-compose -d up

The facelist should be served at http://localhost:8080/