CatalystCode / node-authbot

🔑 A bot that authenticates users and get profile information about the user
29 stars 19 forks source link
authbot azure-ad bot oauth

AuthBot for Node.js with Microsoft Bot Framework

A bot that authenticates users and get profile information and the latest email for the logged in user.

Checkout out the bot on Skype Auth Bot Demo in Skype

Check out the demo site

This bot enables users to authenticate with their Microsoft id and/or their AD domain. Then the bot uses the accesstoken to retrieve the latest email for the user.

Features

Allow easy and secure sign in, even in chat sessions including multiple users

Installation

Clone this repo and then install dependencies:

git clone https://github.com/CatalystCode/node-authbot.git
cd node-authbot
git checkout master
npm install

Push directly to Azure Web App: The dev branch has been setup to push directly to Azure web app

Setup the bot:

<security>
      <requestFiltering>
        <requestLimits maxQueryString="10000"/>
        ...
      </requestFiltering>
</security>

Acknowledgement

Many thanks to @sozercan and @GeekTrainer for your contribution.

License

Licensed using the MIT License (MIT); Copyright (c) Microsoft Corporation. For more information, please see LICENSE.