operating asset

SSO – Single Sign On

New Users are always required to go through the signup process. This maintains the highest security possible to your Maxpanda CMMS account.

  1. New Users to be invited using Company Admins invite module.
  2. New Users has to create a standard account using email , password.
  3. Each new user needs to associate Azure AD/Office 365, Facebook or Google+ account from their edit profile page.
  4. After this process is completed by the New User they can login using the various SSO login button (i.e. they have to provide their AD username password). Once they login, the new user is not required to enter a password again as long as the Active Directory, Facebook or Google+ sessions are active.

Using SINGLE SIGN ON (sso)

Steps:

1)  Log into Maxpanda CMMS using your usual Maxpanda credentials.

2) Edit user profile.

3) Select Office 365 ‘Add button’ on the top right hand side.

4) Supply Office 365 user id and password credentials.

5)  When logging into Maxpanda CMMS the next time, click the office 365 button on the login screen entering your office 365 credentials.

Create Azure AD Multi-Tenant Application

  • Sign in to Azure Portal. ( Create a new Azure account if you don’t have it already @ https://azure.microsoft.com  )
  • After creating account, Login to azure portal & follow below steps.
  • In left pane click on More Services in the left hand nav, and choose Azure Active Directory.
  • Click on App registrations and choose New Application registration.
  • Enter name for the application, for example ‘Maxpanda’ and select ‘Web app / API’ as the Application Type, For the sign-on URL, enter the base URL for the MaxPanda application, which is ‘https://app.maxpanda.com‘. Click on Create to create the application.
  • Now, choose your application, click on Settings and choose Properties.
  • Find the application ID value and copy it to the clipboard.
  • Click Upload new logo field to upload a logo.
  • In the same page, change the ‘Logout URL’ to ‘https://app.maxpanda.com/Account/LogOff‘. This is the default Single sign out URL.
  • At the bottom on page, find ‘multi-tenanted’ switch and flip it to yes.
  • For the App ID URI , replace GUID by maxpanda
  • Example :

Replace https://MYACCOUNT.onmicrosoft.com/eb98fcad-4e12-49e6-8084-e654d1665cac   with https://myaccount.onmicrosoft.com/maxpanda

  • Configure Permissions for your application – in the Settings menu, choose the ‘Required permissions’ section, click on Add, then Select an API, and select ‘Microsoft Graph’ (this is the Graph API). Then, click on Select Permissions and select ‘Sign in and read user profile’.
  • From the Settings menu, choose Keys and add a key – select a key duration (1 year or 2 years). When you save this page, the key value will be displayed, copy and save the value in a safe location – you will need this key later to configure the project web.config – this key value will not be displayed again, nor retrievable by any other means, so please record it as soon as it is visible from Azure Portal.
  • After provisioning the key, navigate to the ‘Reply URLs’ section and add this reply URL: https://app.maxpanda.com
  • Open the Project Solution in Visual Studio.
  • Open the root web.config file in Maxpanda Project.
  • Find the app key ‘AzureADClientId’ and replace the value with ‘Application ID’ from Azure portal.
  • Find the app key ‘AzureADClientSecret’ and replace the value with ‘Key’ we saved from Azure portal.

Create Facebook Application

  • Sign in to https://developers.facebook.com
  • On the top bar click on My Apps, and click on Add a New App and enter a name for application for example ‘Maxpanda’ and enter contact email, and click Create.
  • On next page, it will show Select a Product and on Facebook Login click on Set Up. Now, Select Web and enter URL for website (https://app.maxpanda.com) and click Save and then again click Continue and click next.
  • On Left Side nav bar, enter App Domains (maxpanda.com), Private Policy URL, App icon and click Save Changes.
  • From nav bar click Facebook Login and enter Valid OAuth redirect URIs. (https://app.maxpanda.com, https://app.maxpanda.com/signin-facebook) and click Save Changes.
  • From nav bar find and go to App Review and turn on toggle Switch named as (Make Maxpanda public?) and it will ask for a confirmation and click Confirm and the application will be live for all users.
  • From Dashboard get the App ID and App Secret.
  • Now, Open Project Solution in Visual Studio.
  • Open the root web.config file in Maxpanda Project.
  • Find the app key ‘FacebookAppId’ and replace the value with ‘App ID’ from Facebook Dashboard.
  • Find the app key ‘FacebookAppSecret’ and replace the value with ‘App Secret’ from Facebook Dashboard.

Create Google Application

  • Open the Google API Console Credentials Page.
  • From the project drop-down, choose Create a new project, enter a name for the Project (Maxpanda), and optionally, edit the provided Project ID and click Create.
  • On the Credentials page, select Create credentials, then select OAuth client ID. You may be prompted to set a product name on the Consent screen; If so, click Configure consent screen, supply the requested information, enter Private Policy URL to make app deployable, and Product logo URL to add a Logo, and click Save to return to the Credentials screen.
  • Select Web Application for the Application Type. Enter a name (web client) for credential and in Restrictions section enter (https://app.maxpanda.com) in place of Authorized JavaScript origins and (https://app.maxpanda.com/signin-google) in place of Authorized redirect URIs.
  • Click Create.
  • On the page that appears, copy the client ID and client Secret to your clipboard.
  • Navigate to Dashboard, and Click View All API’s, and search for ‘Google+ API’ select it and click Enable.
  • Now, Open Project Solution in Visual Studio.
  • Open the root web.config file in Maxpanda Project.
  • Find the app key ‘GoogleClientId’ and replace the value with ‘Client ID’ from Google Console.
  • Find the app key ‘GoogleClientSecret’ and replace the value with ‘Client Secret’ from Google Console.

New Users are always required to go through the signup process. This maintains the highest security possible to your Maxpanda CMMS account. New Users to be invited using Company Admins invite module. New Users has to create a standard account using email , password. Each new user needs to associate Azure AD/Office 365, Facebook or…