Coder Social home page Coder Social logo

sbardian / accounts-azure-active-directory Goto Github PK

View Code? Open in Web Editor NEW

This project forked from djluck/accounts-azure-active-directory

0.0 1.0 0.0 13 KB

Adds single sign-on integration with Azure Active Directory for Meteor.

License: Apache License 2.0

JavaScript 100.00%

accounts-azure-active-directory's Introduction

#Accounts-Azure-Active-Directory Adds single sign-on integration with Azure Active Directory for Meteor.

What will this package allow me to do?

This package was written to allow the development of meteor apps for the (windows) enterprise world. It seems to me that a large barrier to corporate acceptance of meteor having to remember a million different sets of credentials. This package allows users to authenticate using their Active Directory credentials.

What's Azure Active Directory?

Essentially it's Active Directory in the cloud. You can ask your Ops/Systems team to create a mirror image of your enterprise installation or sign up for a free account and add your users manually.

Configuration

Please refer to the wiki documentation for a guide to configuring this package.

Adding email addresses to accounts

When a user authenticates for the first time using the azure-active-directory flow, their email address is captured and passed to the Accounts.onCreateUser(). By adding the following code to your application, you can store the email addresses of each user:

Accounts.onCreateUser(function(options, user) {
  //This is the default implementation of onCreateUser(). Retain this as it is used to copy a user's name, etc.
  if (options.profile)
    user.profile = options.profile;

  //Copy the .emails option as well.
  if (options.emails)
    user.emails = options.emails;

  return user;
});

accounts-azure-active-directory's People

Contributors

djluck avatar sbardian avatar

Watchers

 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.