Giter VIP home page Giter VIP logo

mautic-sso-plugin's Introduction

Not meant for production

This is currently meant only for testing Mautic's auth plugins.

Plugin Setup

  1. Copy MauticSSOBundle into /plugins of Mautic.
  2. Delete the cache /app/cache/dev
  3. Browse to /s/plugins and click the Install/Upgrade Plugins button
  4. Configure a SSO provider (note the callback url for the SSO Provider Setup

SSO Provider Setup

Github

  1. Register a new application
  2. Use the client ID and secret when configuring the plugin's integration

Google

  1. Login to Google's developer console
  2. Browse to APIs & Auth -> Credentials
  3. Click Add Credentials then OAuth 2.0 Client ID
  4. Configure the credentials
  5. Use the client ID and secret when configuring the plugin's integration

Local authorized Users

For demonstration of authorizing a login via the form, add the following to /app/config/local.php and fill in the details. Note that the password must be encrypted with bcrypt (easiest way is to copy in a password from Mautic's users table).

	'authorized_users' => array(
		'custom_username' => array(
			'firstname' => '',
			'lastname'  => '',
			'password'  => '',
			'email'     => ''
		)
	)

Delete the cache then try to login with the above. The user will be created in Mautic's Users table and given role ID#1.

mautic-sso-plugin's People

Contributors

alanhartless avatar

Watchers

James Cloos avatar SalvaG 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.