-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from aleron75/master
Add README
- Loading branch information
Showing
5 changed files
with
65 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Backend Google Sign On for Magento 2 | ||
This is a Magento 2 extension that allows to authenticate into Magento 2 Admin Panel using Google Sign On services. | ||
|
||
## Installation | ||
Install the extension through composer: | ||
|
||
composer require msp/module-backend-google-sign-on | ||
|
||
Once Composer finishes installing the dependencies, run: | ||
|
||
bin/magento setup:upgrade | ||
|
||
## Configuration | ||
After the module is installed, authenticate into Admin Panel and go to `STORES > Settings > Configuration > SECURITY > Google Backend Sign On`. | ||
|
||
You should see the following configuation fields: | ||
|
||
![Configuration](doc/img/configuration-01.png) | ||
|
||
To fill the **Client ID** ad **Client Secret** fields, go to https://console.developers.google.com/ to create the required **OAuth client ID** credentials (read detailed instructions [here](https://developers.google.com/identity/protocols/oauth2/javascript-implicit-flow?hl=it)). | ||
|
||
As **Authorized JavaScript origins** set the base URL of the site where you are installing the extension. | ||
|
||
As **Authorized redirect URLs** set the URL of the Admin Panel. | ||
|
||
You can also define a set of domain-based rules to automatically assign a role to a user or to force a user to use the Google Sign On, as shown below: | ||
|
||
![Rules](doc/img/rules-01.png) | ||
|
||
## Usage | ||
Once enabled and configured, the extension adds a **Google Login** button in the sign in form of the Admin Panel, as shown below: | ||
|
||
![Login](doc/img/login-01.png) | ||
|
||
## Contributing | ||
Contributions are very welcome. In order to contribute, please fork this repository and [submit a pull request](https://help.github.com/articles/creating-a-pull-request/). | ||
|
||
## License | ||
Copyright © MageSpecialist - Skeeller srl. All rights reserved. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.