GithubHelp home page GithubHelp logo

anthrax3 / node-authbot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from catalystcode/node-authbot

0.0 2.0 0.0 8.94 MB

๐Ÿ”‘ A bot that authenticates users and get profile information about the user

JavaScript 96.83% HTML 3.17%

node-authbot's Introduction

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

  • Support endpoints V1 (only supports AD accounts)
  • Support endpoints V2 (now supports both AD accounts and Microsoft accounts)

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:

  • Populate environment variables in .env.template.
  • Follow the instructions on Bot Framework website to setup Channels.
  • [Optional] If the bot is hosted on Azure App Service, make sure to increase the maxQueryString limit by updating the web.config file in $HOME/site/wwwroot like this:
<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.

node-authbot's People

Contributors

bnookala avatar ritazh avatar sozercan avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.