discourse/discourse-plugin-office365-auth

Name: discourse-plugin-office365-auth

Owner: Discourse

Description: null

Created: 2016-10-15 03:10:12.0

Updated: 2018-04-25 18:30:03.0

Pushed: 2017-08-02 06:51:44.0

Homepage: null

Size: 78

Language: Ruby

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Office365 OAuth Login Plugin

This plugin adds support logging in via Office365.

Admin Settings

Login Screen

How to Help
Prerequisites

First, you need access to an account in an Office 365 Subscription. This can be an existing subscription you have for your work or business, an Office 365 Developer Subscription, or you can start with a free 30-day trial.

The name on the subscription you use to register your app will show as the publisher for that app when users are prompted to give consent.

Installation
  1. Follow the directions at Install a Plugin using https://github.com/discourse/discourse-plugin-office365-auth.git as the repository URL.

  2. Rebuild the app using ./launcher rebuild app

  3. Visit https://dev.outlook.com/appregistration and follow the directions for creating an application, or look up the details of your existing application.

  4. Generate a New Password under Application Secrets (copy the password, you will need it for your admin settings in Discourse). It is not necessary to create a Key Pair.

  5. Click Add Platform and choose “Web”

  6. Add your website as a Redirect URI in this format:
    https://[YOUR_FORUM_FQDN]/auth/microsoft_office365/callback
    (Note that Office 365 requires HTTPS, this will not work without it)

  7. Ensure that there is a Delegated Permission of User.Read

  8. Leave the Live SDK support option checked.

  9. Click Save, the Client ID will be visible in the My Applications list

  10. Update the plugin settings in the Admin > Settings > Plugins area.

Authors

Matthew Wilkin

License

GNU GPL v2


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.