dwyl / smart-home-auth-server

The authorisation server for dwyl/smart-home-security-system
GNU General Public License v2.0
5 stars 1 forks source link
# Smart Home Authorization Server A Phoenix server that allows for IoT devices to check for user access. [![Build Status](https://img.shields.io/travis/com/dwyl/smart-home-auth-server/master.svg?style=flat-square)](https://travis-ci.com/github/dwyl/smart-home-auth-server) [![codecov.io](https://img.shields.io/codecov/c/github/dwyl/smart-home-auth-server/master.svg?style=flat-square)](http://codecov.io/github/dwyl/smart-home-auth-server?branch=master)

Why?

For our Smart Home Security System we need to be able to identify people and devices and check their access rights. This is a key part of the system and is our 'single source of truth.' It integrates with the Dwyl authentication system using auth_plug and stores as little personal information as possible.

What?

This is a simple Phoenix-Based REST service made of three key parts:

How?

Clone the project

git clone https://github.com/dwyl/smart-home-auth

Set AUTH_API_KEY

Follow the instructions to get your API Key

Run

To start the Phoenix server:

API Development

insomnia.json is an export of the Insomnia workspace used to develop the API. It should have most routes and authentication configured.

We recommend using Insomnia for development, see: https://github.com/dwyl/learn-insomnia