Plugin Directory

Changeset 3288271


Ignore:
Timestamp:
05/06/2025 08:30:32 AM (11 months ago)
Author:
teamwpminiorange
Message:

WordPress SSO plugin release v6.26.9

Location:
miniorange-login-with-eve-online-google-facebook
Files:
354 added
5 edited

Legend:

Unmodified
Added
Removed
  • miniorange-login-with-eve-online-google-facebook/trunk/admin/partials/apps/partials/defaultapps.json

    r3142158 r3288271  
    11{
    22    "oauth2.1": {
    3         "label":"Custom OAuth 2.1 App", "type":"oauth", "image":"oauth2.png", "scope": "", "domain": "",  "discovery":"", "authorize": "", "token": "", "userinfo": "", "guide":"", "logo_class":"fa fa-lock"
     3        "label":"Custom OAuth 2.1 (OAuth with PKCE)", "type":"oauth", "image":"oauth2.png", "scope": "", "domain": "",  "discovery":"", "authorize": "", "token": "", "userinfo": "", "guide":"", "logo_class":"fa fa-lock"
    44    },
    55    "other": {
     
    1111    "oauth1": {
    1212    "label":"Custom OAuth 1.0 App", "type":"oauth1", "image":"oauth1.png", "scope": "", "domain": "", "discovery":"", "request": "","requesturl": "", "authorize": "", "token": "", "userinfo": "", "guide":"", "logo_class":"fa fa-lock"
    13     },
    14     "office365": {
    15         "label":"Office 365", "type":"openidconnect", "image":"office365.png", "scope": "openid", "tenant": "tenent-id", "discovery": "https://login.microsoftonline.com/tenant/.well-known/openid-configuration", "authorize": "https://login.microsoftonline.com/{tenant-id}/oauth2/authorize", "token": "https://login.microsoftonline.com/{tenant-id}/oauth2/token", "userinfo": "https://login.windows.net/common/openid/userinfo", "guide":"https://plugins.miniorange.com/office-365-single-sign-on-wordpress-sso-oauth-openid-connect", "logo_class":"fa fa-windowslive", "video":"https://www.youtube.com/watch?v=smHkrtg6Y9I&t=24s", "send_header":"1", "send_body":"0", "setup_notice":"Please enter the tenant ID in the above endpoints in place of <b><a style='color:#15c !important' href='https://plugins.miniorange.com/office-365-single-sign-on-wordpress-sso-oauth-openid-connect#client-id-tenant' target='blank'>{tenant-id}</a></b>."
    1613    },
    1714    "azure": {
     
    2320        "video":"https://youtu.be/GbaH1vMkEMc", "send_header":"1", "send_body":"0", "setup_notice":"Please enter the tenant name and policy in the above endpoints in place of <b><a style='color:#15c !important' href='https://plugins.miniorange.com/azure-b2c-ad-single-sign-on-wordpress-sso-oauth-openid-connect#tenant' target='blank'>{tenant}</a></b> and <b><a style='color:#15c !important' href='https://plugins.miniorange.com/azure-b2c-ad-single-sign-on-wordpress-sso-oauth-openid-connect#policyname' target='blank'>{policy}</a></b>."
    2421    },
     22    "office365": {
     23        "label":"Office 365", "type":"openidconnect", "image":"office365.png", "scope": "openid", "tenant": "tenent-id", "discovery": "https://login.microsoftonline.com/tenant/.well-known/openid-configuration", "authorize": "https://login.microsoftonline.com/{tenant-id}/oauth2/authorize", "token": "https://login.microsoftonline.com/{tenant-id}/oauth2/token", "userinfo": "https://login.windows.net/common/openid/userinfo", "guide":"https://plugins.miniorange.com/office-365-single-sign-on-wordpress-sso-oauth-openid-connect", "logo_class":"fa fa-windowslive", "video":"https://www.youtube.com/watch?v=smHkrtg6Y9I&t=24s", "send_header":"1", "send_body":"0", "setup_notice":"Please enter the tenant ID in the above endpoints in place of <b><a style='color:#15c !important' href='https://plugins.miniorange.com/office-365-single-sign-on-wordpress-sso-oauth-openid-connect#client-id-tenant' target='blank'>{tenant-id}</a></b>."
     24    },
    2525    "cognito": {
    2626        "label":"AWS Cognito", "type":"oauth", "image":"cognito.png", "scope": "openid", "domain": "", "discovery": "","authorize": "https://{cognito-app-domain}/oauth2/authorize", "token": "https://{cognito-app-domain}/oauth2/token", "userinfo": "https://{cognito-app-domain}/oauth2/userInfo", "guide":"https://plugins.miniorange.com/aws-cognito-single-sign-on-wordpress-sso-oauth-openid-connect/", "logo_class":"fa fa-amazon"
     
    3535        "video":" https://youtu.be/w2_Dx8pd43w", "send_header":"1", "send_body":"0", "setup_notice":"Please configure the above endpoins as per <b><a style='color:#15c !important' href='https://plugins.miniorange.com/keycloak-single-sign-on-wordpress-sso-oauth-openid-connect#step6' target='blank'>this step</a></b> for <b>Keycloak Version 18 and above</b>.<br> And configure the above endpoints as per <b><a style='color:#15c !important' href='https://plugins.miniorange.com/keycloak-single-sign-on-wordpress-sso-oauth-openid-connect#step6' target='blank'>this step</a></b> for <b>Keycloak Version 17 and below</b>."
    3636    },
     37    "clever": {
     38        "label":"Clever", "type":"oauth", "image":"clever.png", "scope": "read:students read:teachers read:user_id", "domain": "", "discovery":"", "authorize": "https://clever.com/oauth/authorize", "token": "https://clever.com/oauth/tokens", "userinfo": "https://api.clever.com/v3.0/me", "guide":"https://plugins.miniorange.com/clever-single-sign-on-wordpress-sso-oauth-openid-connect/", "logo_class":"fa fa-lock", "send_header":"1", "send_body":"1"
     39    },
     40    "classlink": {
     41        "label":"Classlink", "type":"oauth", "image":"classlink.png", "scope": "", "domain": "",  "discovery":"", "authorize": "", "token": "", "userinfo": "", "guide":"", "logo_class":"fa fa-lock"
     42    },
     43    "whmcs": {
     44        "label":"WHMCS", "type":"oauth", "image":"whmcs.png", "scope": "openid profile email", "domain": "", "discovery":"", "authorize": "https://{yourWHMCSdomain}/oauth/authorize.php", "token": "https://{yourWHMCSdomain}/oauth/token.php", "userinfo": "https://{yourWHMCSdomain}/oauth/userinfo.php", "guide":"https://plugins.miniorange.com/whmcs-single-sign-on-wordpress-sso-oauth-openid-connect/", "logo_class":"fa fa-lock"
     45    , "video":"https://youtu.be/PGet7ip3Q8E", "send_header":"1", "send_body":"0", "setup_notice":"Please enter the WHMCS domain in the above endpoints in place of <b><a style='color:#15c !important' href='https://plugins.miniorange.com/whmcs-single-sign-on-wordpress-sso-oauth-openid-connect#callback-url' target='blank'>{<yourWHMCSdomain}</a></b>."
     46    },
     47    "salesforce": {
     48        "label":"Salesforce", "type":"oauth", "image":"salesforce.png", "scope": "openid email profile", "domain": "","avl_domain":"", "discovery":"", "authorize": "https://login.salesforce.com/services/oauth2/authorize", "token": "https://login.salesforce.com/services/oauth2/token", "userinfo": "https://login.salesforce.com/services/oauth2/userinfo", "guide":"https://plugins.miniorange.com/salesforce-single-sign-on-wordpress-sso-oauth-openid-connect", "logo_class":"fa fa-lock"
     49    , "video":"https://youtu.be/jXImJNGPo0M", "send_header":"1", "send_body":"0"
     50    },
    3751    "okta": {
    3852        "label":"Okta", "type":"openidconnect", "image":"okta.png", "scope": "openid email profile", "domain":"", "discovery":"", "authorize": "https://{yourOktaDomain}.com/oauth2/default/v1/authorize", "token": "https://{yourOktaDomain}.com/oauth2/default/v1/token", "userinfo": "https://{yourOktaDomain}.com/oauth2/default/v1/userinfo", "guide":"https://plugins.miniorange.com/okta-single-sign-on-wordpress-sso-oauth-openid-connect", "logo_class":"fa fa-lock"
     
    4660        "label":"Ping", "type":"openidconnect", "image":"ping.png", "scope": "openid", "domain":"", "discovery":"", "authorize": "https://{yourPingDomain}.com/as/authorization.oauth2", "token": "https://{yourPingDomain}.com/as/token.oauth2", "userinfo": "https://{yourPingDomain}.com/as/userinfo.openid", "guide":"https://plugins.miniorange.com/ping-federate-single-sign-on-wordpress-sso-oauth-openid-connect/", "logo_class":"fa fa-lock", "send_header":"1", "send_body":"0", "setup_notice":"Please enter the Ping domain in the above endpoints in place of <b style='color:#15c !important'>{yourPingDomain}</b>."
    4761    },
    48     "whmcs": {
    49         "label":"WHMCS", "type":"oauth", "image":"whmcs.png", "scope": "openid profile email", "domain": "", "discovery":"", "authorize": "https://{yourWHMCSdomain}/oauth/authorize.php", "token": "https://{yourWHMCSdomain}/oauth/token.php", "userinfo": "https://{yourWHMCSdomain}/oauth/userinfo.php", "guide":"https://plugins.miniorange.com/whmcs-single-sign-on-wordpress-sso-oauth-openid-connect/", "logo_class":"fa fa-lock"
    50     , "video":"https://youtu.be/PGet7ip3Q8E", "send_header":"1", "send_body":"0", "setup_notice":"Please enter the WHMCS domain in the above endpoints in place of <b><a style='color:#15c !important' href='https://plugins.miniorange.com/whmcs-single-sign-on-wordpress-sso-oauth-openid-connect#callback-url' target='blank'>{<yourWHMCSdomain}</a></b>."
    51     },
    5262    "WindowsLive": {
    5363        "label":"Windows Live", "type":"openidconnect", "image":"windowslive.png", "scope": "openid", "domain":"", "discovery":"", "authorize": "https://login.live.com/oauth20_authorize.srf", "token": "https://login.live.com/oauth20_token.srf", "userinfo": "https://apis.live.net/v5.0/me", "guide":"https://plugins.miniorange.com/windows-live-oauth-and-openid-connect-single-sign-on-sso-login", "logo_class":"fa fa-lock", "send_header":"1", "send_body":"0"
     
    5666        "label":"Identity Server", "type":"oauth", "image":"identityserver.png", "scope": "openid", "domain": "", "discovery":"", "authorize": "https://{your-identityserver-domain}/connect/authorize", "token": "https://{your-identityserver-domain}/connect/token", "userinfo": "https://{your-identityserver-domain}/connect/introspect", "guide":"https://plugins.miniorange.com/identityserver4-single-sign-on-wordpress-sso-oauth-openid-connect/", "logo_class":"fa fa-lock", "send_header":"1", "send_body":"0", "setup_notice":"Please enter the Identity Server domain in the above endpoints in place of <b><a style='color:#15c !important' href='https://plugins.miniorange.com/identityserver4-single-sign-on-wordpress-sso-oauth-openid-connect#callback-url' target='blank'>{your-identityserver-domain}</a></b>."
    5767    },
    58     "classlink": {
    59         "label":"ClassLink", "type":"oauth", "image":"classlink.png", "scope": "profile email", "domain": "", "discovery":"", "authorize": "https://launchpad.classlink.com/oauth2/v2/auth", "token": "https://launchpad.classlink.com/oauth2/v2/token", "userinfo": "https://nodeapi.classlink.com/v2/my/info", "guide":"https://plugins.miniorange.com/classlink-single-sign-on-wordpress-sso-oauth-openid-connect", "logo_class":"fa fa-lock"
     68    "neoncrm": {
     69        "label":"Neon CRM", "type":"oauth", "image":"neoncrm.png", "scope": "openid", "domain": "", "discovery":"", "authorize": "", "token": "", "userinfo": "", "guide":"", "logo_class":"fa fa-lock", "send_header":"1", "send_body":"0", "setup_notice":""
     70    , "video":""
    6071    },
    6172    "canvas": {
    6273        "label":"Canvas", "type":"oauth", "image":"canvas.png", "scope": "openid profile", "domain": "", "discovery":"", "authorize": "https://{your-site-url}/login/oauth2/auth", "token": "https://{your-site-url}/login/oauth2/token", "userinfo": "https://{your-site-url}/api/v1/users/self", "guide":"https://plugins.miniorange.com/canvas-single-sign-on-wordpress-sso-oauth-openid-connect", "logo_class":"fa fa-lock","send_header":"1", "send_body":"0", "setup_notice":"Please enter the canvas site url in the above endpoints in place of <b><a style='color:#15c !important' href='https://plugins.miniorange.com/canvas-single-sign-on-wordpress-sso-oauth-openid-connect#callback-url' target='blank'>{your-site-url}</a></b>."
    63     }, 
    64     "clever": {
    65         "label":"Clever", "type":"oauth", "image":"clever.png", "scope": "read:students read:teachers read:user_id", "domain": "", "discovery":"", "authorize": "https://clever.com/oauth/authorize", "token": "https://clever.com/oauth/tokens", "userinfo": "https://api.clever.com/v3.0/me", "guide":"https://plugins.miniorange.com/clever-single-sign-on-wordpress-sso-oauth-openid-connect/", "logo_class":"fa fa-lock", "send_header":"1", "send_body":"1"
    6674    },
    6775    "wso2": {
     
    6977    ,"video":"https://youtu.be/ub34FlnRUiw", "send_header":"1", "send_body":"0", "setup_notice":"Please enter the WSO2 domain in the above endpoints in place of <b><a style='color:#15c !important' href='https://plugins.miniorange.com/wso2-single-sign-on-wordpress-sso-oauth-openid-connect#callback-url' target='blank'>domain</a></b>."
    7078    },
     79    "imis": {
     80        "label":"iMIS", "type":"oauth", "image":"imis.png", "scope": "", "domain": "",  "discovery":"", "authorize": "", "token": "", "userinfo": "", "guide":"", "logo_class":"fa fa-lock"
     81    },
    7182    "adfs": {
    7283        "label":"ADFS", "type":"openidconnect", "image":"adfs.png", "scope": "openid", "domain": "", "discovery":"", "authorize": "https://{yourADFSDomain}/adfs/oauth2/authorize/", "token": "https://{yourADFSDomain}/adfs/oauth2/token/", "userinfo": "", "guide":"https://plugins.miniorange.com/adfs-single-sign-on-wordpress-sso-oauth-openid-connect", "logo_class":"fa fa-windowslive", "send_header":"1", "send_body":"0", "setup_notice":"Please enter the ADFS domain in the above endpoints in place of <b><a style='color:#15c !important' href='https://plugins.miniorange.com/adfs-single-sign-on-wordpress-sso-oauth-openid-connect#callback-url' target='blank'>{yourADFSdomain}</a></b>."
     
    7788    "steam": {
    7889        "label":"steam", "type":"openidconnect", "image":"steam.png", "scope": "profile", "domain": "", "discovery":"", "authorize": "https://steamcommunity.com/openid/login", "token": "http://api.steampowered.com/ISteamUser/GetPlayerSummaries/v0002/?key=", "userinfo": "", "guide":"", "logo_class":"fa fa-lock", "send_header":"1", "send_body":"0", "setup_notice":""
    79     },
    80     "salesforce": {
    81         "label":"Salesforce", "type":"oauth", "image":"salesforce.png", "scope": "openid email profile", "domain": "","avl_domain":"", "discovery":"", "authorize": "https://login.salesforce.com/services/oauth2/authorize", "token": "https://login.salesforce.com/services/oauth2/token", "userinfo": "https://login.salesforce.com/services/oauth2/userinfo", "guide":"https://plugins.miniorange.com/salesforce-single-sign-on-wordpress-sso-oauth-openid-connect", "logo_class":"fa fa-lock"
    82     , "video":"https://youtu.be/jXImJNGPo0M", "send_header":"1", "send_body":"0"
    8390    },
    8491    "auth0": {
     
    103110    "joomla": {
    104111        "label":"Joomla", "type":"oauth", "image":"joomla.png", "scope": "email", "domain":"", "discovery":"", "authorize": "http://{joomla-app-domain}/index.php", "token": "http://{joomla-app-domain}/index.php", "userinfo": "http://{joomla-app-domain}/plugins/system/miniorangeoauth/miniorangeoauthserver.php", "guide":"https://plugins.miniorange.com/wordpress-single-sign-on-sso-oauth-openid-client-with-joomla-oauth-server", "logo_class":"fa fa-lock", "video":"", "send_header":"1", "send_body":"0", "setup_notice":"Please enter the Joomla App Domain in the above endpoints in place of <b style='color:#15c !important'>{joomla-app-domain}</b>."
     112    },
     113    "mindbody": {
     114        "label":"Mindbody", "type":"oauth", "image":"mindbody.png", "scope": "", "domain": "",  "discovery":"", "authorize": "", "token": "", "userinfo": "", "guide":"", "logo_class":"fa fa-lock"
    105115    },
    106116    "SheepCRM": {
     
    130140        "label":"IBM App ID", "type":"openidconnect", "image":"ibmappid.png", "scope": "openid", "domain":"", "discovery":"", "authorize": "https://{region}.appid.cloud.ibm.com/oauth/v4/{tenant-id}/authorization", "token": "https://{region}.appid.cloud.ibm.com/oauth/v4/{tenant-id}/token", "userinfo": "https://{region}.appid.cloud.ibm.com/oauth/v4/{tenant-id}/userinfo", "guide":"https://plugins.miniorange.com/ibm-app-id-single-sign-on-wordpress-sso-oauth-openid-connect", "logo_class":"fa fa-lock", "send_header":"1", "send_body":"0", "setup_notice":"Please enter the region and tenant ID in the above endpoints in place of <b style='color:#15c !important'>{region}</b> and <b style='color:#15c !important'>{tenant-id}</b>."
    131141    },
     142    "orcid": {
     143        "label":"ORCID", "type":"openidconnect", "image":"orcid.png", "scope": "openid", "domain": "","avl_domain":"", "discovery":"", "authorize": "https://orcid.org/oauth/authorize", "token": "https://orcid.org/oauth/token", "userinfo": "", "guide":"https://plugins.miniorange.com/orcid-single-sign-on-wordpress-sso-oauth-openid-connect/", "logo_class":"fa fa-lock", "send_header":"1", "send_body":"0"
     144        },
    132145    "swiss rx login": {
    133146        "label":"Swiss RX Login", "type":"openidconnect", "image":"swiss-rx-login.png", "domain": "", "discovery":"", "scope": "anonymous", "authorize": "https://swiss-rx-login.ch/oauth/authorize", "token": "https://swiss-rx-login.ch/oauth/token", "userinfo": "", "guide":"https://plugins.miniorange.com/swiss-rx-login-single-sign-on-for-wordpress-using-oauth", "logo_class":"fa fa-lock", "send_header":"1", "send_body":"0"
     
    140153    , "video":"https://youtu.be/pU-lgMm318k", "send_header":"0", "send_body":"1"
    141154    },
     155    "vendesta": {
     156        "label":"Vendesta", "type":"oauth", "image":"vendesta.png", "scope": "", "domain": "",  "discovery":"", "authorize": "", "token": "", "userinfo": "", "guide":"", "logo_class":"fa fa-lock"
     157    },
    142158    "gluu": {
    143159        "label":"Gluu Server", "type":"oauth", "image":"gluu.png", "scope": "openid", "domain":"", "discovery":"", "authorize": "http://{gluu-server-domain}/oxauth/restv1/authorize", "token": "http://{gluu-server-domain}/oxauth/restv1/token", "userinfo": "http:///{gluu-server-domain}/oxauth/restv1/userinfo", "guide":"https://plugins.miniorange.com/gluu-single-sign-on-wordpress-sso-oauth-openid-connect", "logo_class":"fa fa-lock", "send_header":"1", "send_body":"0", "setup_notice":"Please enter the gluu domain in the above endpoints in place of <b style='color:#15c !important'>{gluu-server-domain}</b>."
    144     },
    145     "neoncrm": {
    146         "label":"Neon CRM", "type":"oauth", "image":"neoncrm.png", "scope": "openid", "domain": "", "discovery":"", "authorize": "https://{{your Neon CRM organization id}}.z2systems.com/np/oauth/auth", "token": "https://{{your Neon CRM organization id}}.z2systems.com/np/oauth/token", "userinfo": "https://api.neoncrm.com/neonws/services/api/account/retrieveIndividualAccount?accountId=", "guide":"https://plugins.miniorange.com/neon-crm-single-sign-on-wordpress-sso-oauth-openid-connect", "logo_class":"fa fa-lock", "send_header":"1", "send_body":"0", "setup_notice":"Please enter the Neon CRM organization ID in the above endpoints in place of <b style='color:#15c !important'>{{your Neon CRM organization id}}</b>."
    147     , "video":""
    148160    },
    149161    "invision": {
     
    212224        "label":"Eve Online", "type":"oauth", "image":"eveonline.png", "scope": "publicData", "domain": "", "discovery":"", "authorize": "https://login.eveonline.com/oauth/authorize", "token": "https://login.eveonline.com/oauth/token", "userinfo": "https://esi.evetech.net/verify", "guide":"https://plugins.miniorange.com/eve-online-single-sign-on-wordpress-sso-oauth-openid-connect", "logo_class":"fa fa-lock", "send_header":"1", "send_body":"0"
    213225    },
    214     "orcid": {
    215         "label":"ORCID", "type":"openidconnect", "image":"orcid.png", "scope": "openid", "domain": "","avl_domain":"", "discovery":"", "authorize": "https://orcid.org/oauth/authorize", "token": "https://orcid.org/oauth/token", "userinfo": "", "guide":"https://plugins.miniorange.com/orcid-single-sign-on-wordpress-sso-oauth-openid-connect/", "logo_class":"fa fa-lock", "send_header":"1", "send_body":"0"
    216     },
    217226    "intuit": {
    218227        "label":"Intuit", "type":"oauth", "image":"intuit.png", "scope": "openid email profile", "domain": "", "discovery":"", "authorize": "https://appcenter.intuit.com/connect/oauth2", "token": "https://oauth.platform.intuit.com/oauth2/v1/tokens/bearer", "userinfo": "https://accounts.platform.intuit.com/v1/openid_connect/userinfo", "guide":"https://plugins.miniorange.com/login-with-intuit-using-wordpress-oauth-openid-connect", "logo_class":"fa fa-lock", "send_header":"1", "send_body":"0"
     
    280289        "label":"Blizzard", "type":"oauth", "image":"blizzard.png", "scope": "openid", "domain": "", "discovery":"", "authorize": "https://us.battle.net/oauth/authorize", "token": "https://us.battle.net/oauth/token", "userinfo": "https://us.battle.net/oauth/userinfo", "guide":"https://plugins.miniorange.com/blizzard-single-sign-on-wordpress-sso-oauth-openid-connect", "logo_class":"fa fa-lock", "send_header":"1", "send_body":"0"
    281290    , "video":"https://youtu.be/aSoM3tjcM0Y"
    282     }   
     291    }
    283292}
  • miniorange-login-with-eve-online-google-facebook/trunk/admin/partials/setup_wizard/js/generic.min.js

    r2950976 r3288271  
    1 if(mo_oauth_ajax_object.app)var app=JSON.parse(mo_oauth_ajax_object.app);var last_step=4,final_step=3,mo_oauth_test_ajax_count=0;function mooauth_client_default_apps_input_filter(){var e,o,t,a,s,l,m=0;for(l=0,o=(e=document.getElementById("mo_oauth_client_default_apps_search")).value.toUpperCase(),a=(t=document.getElementById("mo_oauth_client_searchable_apps")).getElementsByTagName("li");l<a.length;l++)void 0!=(s=a[l].getElementsByTagName("a")[0])&&s.innerHTML.split("<br>")[1].toUpperCase().indexOf(o)>-1?a[l].style.display="":(a[l].style.display="none",m++),m>=a.length?(document.getElementById("mo_oauth_client_search_res").innerHTML="<p class='lead muted mo_premium_features_notice'>It looks like your identity provider is not listed below, you can select Custom OAuth 2.0 or OpenID to configure the plugin. Please send us query using support form given aside for more details.</p>",a[1].style.display="",a[2].style.display="",a[3].style.display=""):document.getElementById("mo_oauth_client_search_res").innerHTML=""}function mooauth_auto_fill_form(){if(null!=app&&(null!=app.mo_oauth_appId||void 0!=app.mo_oauth_appId)){if(mooauth_get_step(app.mo_oauth_step),jQuery("#appId").val(app.mo_oauth_appId),jQuery("#displayName").val(app.mo_oauth_app_name),jQuery("#moauth_show_desc").html('This will displayed on SSO login button as<b> "Login with '+app.mo_oauth_app_name+'"</b>. The entire button name is customizable in paid versions.'),void 0!=app.mo_oauth_scopes_list&&""!=app.mo_oauth_scopes_list){if(Array.isArray(app.mo_oauth_scopes_list))var e=app.mo_oauth_scopes_list;else var e=JSON.parse(app.mo_oauth_scopes_list);jQuery(".ui.fluid.dropdown").dropdown({values:e}),jQuery("#scope_list").val(app.mo_oauth_scopes_list)}else jQuery(".ui.fluid.dropdown").dropdown({values:[]}),jQuery("#scope_list").val("");if(void 0!=app.mo_oauth_scopes&&""!=app.mo_oauth_scopes&&'[""]'!=app.mo_oauth_scopes){if(console.log("on load"),console.log(app.mo_oauth_scopes),Array.isArray(app.mo_oauth_scopes))var o=app.mo_oauth_scopes;else var o=JSON.parse(app.mo_oauth_scopes);console.log("after parse"),console.log(app.mo_oauth_scopes),jQuery(".ui.dropdown.fluid").dropdown({allowAdditions:!0,clearable:!0}),jQuery(".ui.fluid.dropdown").dropdown("clear"),jQuery(".ui.fluid.dropdown").dropdown("set selected",o)}else jQuery(".ui.dropdown.fluid").dropdown({allowAdditions:!0,clearable:!0});void 0!=app.mo_oauth_client_id&&jQuery("#clientId").val(app.mo_oauth_client_id),void 0!=app.mo_oauth_client_secret&&jQuery("#clientSecret").val(app.mo_oauth_client_secret);var t=jQuery(".mo-discovery");if(jQuery(t).empty(),void 0!=app.mo_oauth_authorize&&jQuery(t).append('<div class="field-group"><label>Authorization Endpoint</label><input type="text" class="mo-normal-text long-field" name="authorize" id="authorize" value="'+app.mo_oauth_authorize+'" placeholder="Enter authorization endpoint"></div>'),void 0!=app.mo_oauth_token&&jQuery(t).append('<div class="field-group"><label>Token Endpoint</label><input type="text" class="mo-normal-text long-field" name="token" id="token" value="'+app.mo_oauth_token+'" placeholder="Enter token endpoint"></div>'),void 0!=app.mo_oauth_userinfo&&jQuery(t).append('<div class="field-group"><label>Userinfo Endpoint</label><input type="text" class="mo-normal-text long-field" name="userinfo" id="userinfo" value="'+app.mo_oauth_userinfo+'" placeholder="Enter userinfo endpoint"></div>'),void 0!=app.mo_oauth_notice&&jQuery.getJSON(mo_oauth_ajax_object.site_url+"\\wp-content\\plugins\\miniorange-login-with-eve-online-google-facebook\\admin\\partials\\apps\\partials\\defaultapps.json",function(e){jQuery(t).append('<div id= "notice" class="mo-setup-notice">Note : '+e[app.mo_oauth_appId].setup_notice+" </div>")}),void 0!=app.mo_oauth_requesturl&&jQuery(t).append('<div class="field-group"><label>Request Token Endpoint</label><input type="text" class="mo-normal-text long-field" name="requesturl" id="requesturl" value="'+app.mo_oauth_requesturl+'" placeholder="Enter request token endpoint"></div>'),void 0!=app.mo_oauth_input){jQuery("#discInput").val(app.mo_oauth_input);var a=app.mo_oauth_input.split(" ");for(i in a){var s="mo_oauth_"+a[i],l=a[i];void 0!=app[s]?jQuery(t).append('<div class="field-group"><label>'+l+'</label><input type="text" class="mo-normal-text long-field" name="'+l+'" id="'+l+'" value="'+app[s]+'" placeholder="Enter '+app.mo_oauth_appId+" "+l+'"><i class="fa mo-valid-icon"></i></div>'):jQuery(t).append('<div class="field-group"><label>'+l+'</label><input type="text" class="mo-normal-text long-field" name="'+l+'" id="'+l+'" value="" placeholder="Enter '+app.mo_oauth_appId+" "+l+'"><i class="fa mo-valid-icon"></i></div>')}}void 0!=app.mo_oauth_guide&&jQuery(".mo-oauth-setup-guide").append('<a href="'+app.mo_oauth_guide+'" class="mo-oauth-setup-guide-link" target="_blank">&nbspSetup Guide</a>&nbsp'),void 0!=app.mo_oauth_video&&jQuery(".mo-oauth-setup-guide").append('<a href="'+app.mo_oauth_video+'" class="mo-oauth-setup-video-link" target="_blank">&nbspVideo Guide</a>'),void 0!=app.mo_oauth_type&&(jQuery("#type").val(app.mo_oauth_type),"oauth1"==app.mo_oauth_type?jQuery("#mo-oauth-scope").hide():jQuery("#mo-oauth-scope").show()),void 0!=app.mo_oauth_debug&&(!0===app.mo_oauth_debug||"true"==app.mo_oauth_debug?jQuery("#debug").prop("checked",!0):jQuery("#debug").prop("checked",!1)),void 0!=app.mo_oauth_send_header&&(!0===app.mo_oauth_send_header||"true"==app.mo_oauth_send_header?jQuery("#send_header").prop("checked",!0):jQuery("#send_header").prop("checked",!1)),void 0!=app.mo_oauth_send_body&&(!0===app.mo_oauth_send_body||"true"==app.mo_oauth_send_body?jQuery("#send_body").prop("checked",!0):jQuery("#send_body").prop("checked",!1)),mooauth_get_summary()}else mooauth_get_step(1)}function mooauth_update_display_name_description(e){e.value=e.value.replace(/[^a-zA-Z?,.()/@ 0-9]/g,"");var o=e.value;jQuery("#moauth_show_desc").html('This will be displayed on the SSO login button as <b>"Login with '+o+'"</b>. The entire button name is customizable in paid versions.'),jQuery("#moauth_show_warning").html("Note : Special characters are not allowed in app names."),jQuery("#moauth_show_warning").css({"background-color":"#457be221",color:"#1b1b1b",padding:"8px","font-size":"11px",margin:"11px 0px","border-radius":"4px",border:"1px solid #457be2"})}function mooauth_get_data(e,o){var t=jQuery("#multi-select").dropdown("get value").split(",");if(console.log(e+" "+o),console.log(t),""!=jQuery("#scope_list").val())var a=JSON.parse(jQuery("#scope_list").val());else var a="";if("back"==o)var s=parseInt(jQuery("#step").val())-1;else if("next"==o)var s=parseInt(jQuery("#step").val())+1;else var s=parseInt(jQuery("#step").val());var l={action:"mo_outh_ajax",mo_oauth_option:e,mo_oauth_appId:jQuery("#appId").val(),mo_oauth_step:s,mo_oauth_nonce:jQuery("#nonce").val(),mo_oauth_scopes:t,mo_oauth_client_id:jQuery("#clientId").val(),mo_oauth_client_secret:jQuery("#clientSecret").val(),mo_oauth_app_name:jQuery("#displayName").val(),mo_oauth_type:jQuery("#type").val(),mo_oauth_scopes_list:a};jQuery("#authorize").length&&(l.mo_oauth_authorize=jQuery("#authorize").val()),jQuery("#token").length&&(l.mo_oauth_token=jQuery("#token").val()),jQuery("#userinfo").length&&(l.mo_oauth_userinfo=jQuery("#userinfo").val()),jQuery("#notice").length&&(l.mo_oauth_notice=jQuery("#notice").text()),jQuery("#requesturl").length&&(l.mo_oauth_requesturl=jQuery("#requesturl").val());var m=jQuery("#discInput").val();""!=m&&(l.mo_oauth_input=m);var p=m.split(" ");for(i in p)l["mo_oauth_"+p[i]]=jQuery("#"+p[i]).val();return jQuery(".mo-oauth-setup-guide").length&&(jQuery(".mo-oauth-setup-guide-link").length&&(l.mo_oauth_guide=jQuery(".mo-oauth-setup-guide-link").attr("href")),jQuery(".mo-oauth-setup-video-link").length&&(l.mo_oauth_video=jQuery(".mo-oauth-setup-video-link").attr("href"))),jQuery("#debug").length&&(l.mo_oauth_debug=jQuery("#debug").is(":checked")),jQuery("#send_header").length&&(l.mo_oauth_send_header=jQuery("#send_header").is(":checked")),jQuery("#send_body").length&&(l.mo_oauth_send_body=jQuery("#send_body").is(":checked")),l}function mooauth_get_step(e){jQuery("#step").val(e);var o=parseInt(jQuery("#step").val()),t="step"+o;for(i=1;i<=last_step;i++){var e="step"+i;i<o?(jQuery(".icon-step"+i).removeClass("mo-multistep-root-active"),jQuery(".icon-step"+i).removeClass("mo-multistep-root-incompleted"),jQuery(".icon-step"+i).addClass("mo-multistep-root-completed"),jQuery(".mo-label-step"+i).removeClass("mo-muisteplabel-active"),jQuery(".mo-label-step"+i).removeClass("mo-muisteplabel-incompleted"),jQuery(".mo-label-step"+i).addClass("mo-muisteplabel-completed"),jQuery(".mo-muilti-step-connector"+i).addClass("mo-multistep-completed")):(jQuery(".icon-step"+i).removeClass("mo-multistep-root-completed"),jQuery(".icon-step"+i).addClass("mo-multistep-root-incompleted"),jQuery(".mo-label-step"+i).removeClass("mo-muisteplabel-completed"),jQuery(".mo-label-step"+i).addClass("mo-muisteplabel-incompleted"),jQuery(".mo-muilti-step-connector"+i).removeClass("mo-multistep-completed"),jQuery(".mo-muilti-step-connector"+i).removeClass("mo-multistep-active")),e==t?(jQuery("#"+e).show(),jQuery(".icon-step"+i).addClass("mo-multistep-root-active"),jQuery(".mo-label-step"+i).addClass("mo-muisteplabel-active"),jQuery(".mo-muilti-step-connector"+i).addClass("mo-multistep-active")):jQuery("#"+e).hide()}jQuery("#step").val(o),"1"==o&&(jQuery(".mo-button__footer").hide(),jQuery(".mo-multistepper-root").hide(),jQuery(".mo-skip__footer").show()),"1"!=o&&(jQuery(".mo-button__footer").show(),jQuery(".mo-multistepper-root").show(),jQuery(".mo-skip__footer").hide()),jQuery("#mo-btn-next").hide(),jQuery("#mo-btn-finish").hide(),jQuery("#mo-link-draft").hide(),jQuery("#mo-btn-close").hide(),jQuery(".mo-btn-test-finish_class").hide(),jQuery("#mo-btn-test-re-run").hide(),final_step==o&&(mooauth_get_summary(),jQuery("#mo-btn-finish").show()),last_step==o&&(mooauth_get_summary(),jQuery(".mo-btn-test-finish_class").show()),final_step>o&&(jQuery("#mo-btn-next").show(),jQuery("#mo-link-draft").show(),jQuery("#mo-btn-close").show())}function mooauth_get_summary(){jQuery(".mo-summary-name").empty(),jQuery(".mo-summary-id").empty(),jQuery(".mo-summary-secret").empty(),jQuery(".mo-summary-scopes").empty(),jQuery(".mo-summary-endpoints").empty(),jQuery(".mo-summary-name").append("Login with "+jQuery("#displayName").val()),jQuery(".mo-summary-id").val(jQuery("#clientId").val()),jQuery(".mo-summary-secret").val(jQuery("#clientSecret").val());var e=jQuery("#multi-select").dropdown("get value").toString().replaceAll(","," ");jQuery(".mo-summary-scopes").append(e),jQuery("#authorize").length&&(jQuery(".mo-summary-endpoints").append('<li class="summary-form-row"><label>Authorization Endpoint :</label><div class="mo-summary-authorize mo-summary-data"></div><a class="mo-editstep" data-step="2"> </a></li>'),jQuery(".mo-summary-authorize").text(jQuery("#authorize").val())),jQuery("#token").length&&(jQuery(".mo-summary-endpoints").append('<li class="summary-form-row"><label>Token Endpoint :</label><div class="mo-summary-token mo-summary-data"></div><a class="mo-editstep" data-step="2"> </a></li>'),jQuery(".mo-summary-token").text(jQuery("#token").val())),jQuery("#userinfo").length&&(jQuery(".mo-summary-endpoints").append('<li class="summary-form-row"><label>Userinfo Endpoint :</label><div class="mo-summary-userinfo mo-summary-data"></div><a class="mo-editstep" data-step="2"> </a></li>'),jQuery(".mo-summary-userinfo").text(jQuery("#userinfo").val())),jQuery("#requesturl").length&&(jQuery(".mo-summary-endpoints").append('<li class="summary-form-row"><label>Request Token Endpoint :</label><div class="mo-summary-requesturl mo-summary-data"></div><a class="mo-editstep" data-step="2"> </a></li>'),jQuery(".mo-summary-requesturl").text(jQuery("#requesturl").val()));var o=jQuery("#discInput").val();if(""!=o)var t=o.split(" ");for(i in t)jQuery(".mo-summary-endpoints").append('<li class="summary-form-row"><label>'+t[i]+' :</label><div class="mo-summary-'+t[i]+' mo-summary-data"></div><a class="mo-editstep" data-step="2"> </a></li>'),jQuery(".mo-summary-"+t[i]).text(jQuery("#"+t[i]).val())}function mooauth_input_validation(){var e="success";for(i=0,li=jQuery(".mo-summary-data");i<li.length;i++){if("input"===li[i].localName)var o=jQuery("#"+li[i].id).val();else if("mo-summary-scopes mo-summary-data"!==li[i].className)var o=li[i].childNodes[0];(void 0===o||""===o)&&(e="error")}return"error"==e&&(jQuery("#mo-btn-finish").tooltip({items:"#mo-btn-finish",content:"ERROR: Some fields are missing. Please add correct input to proceed",offset:[45,170],delay:4e3}),jQuery("#mo-btn-finish").tooltip("open"),setTimeout(function(){jQuery(".ui-tooltip").fadeOut("slow"),jQuery("#mo-btn-finish").tooltip({items:"#mo-btn-finish",content:""})},5e3)),e}function mooauth_steps_icr(){console.log("increment");var e=parseInt(jQuery("#step").val())+1,o="step"+e;for(console.log("increment e"+e),i=1;i<=last_step;i++){var t="step"+i;i<e?(jQuery(".icon-step"+i).removeClass("mo-multistep-root-active"),jQuery(".icon-step"+i).removeClass("mo-multistep-root-incompleted"),jQuery(".icon-step"+i).addClass("mo-multistep-root-completed"),jQuery(".mo-label-step"+i).removeClass("mo-muisteplabel-active"),jQuery(".mo-label-step"+i).removeClass("mo-muisteplabel-incompleted"),jQuery(".mo-label-step"+i).addClass("mo-muisteplabel-completed"),jQuery(".mo-muilti-step-connector"+i).addClass("mo-multistep-completed"),jQuery(".mo-muilti-step-connector"+i).removeClass("mo-multistep-active")):(jQuery(".icon-step"+i).removeClass("mo-multistep-root-completed"),jQuery(".icon-step"+i).addClass("mo-multistep-root-incompleted"),jQuery(".mo-label-step"+i).removeClass("mo-muisteplabel-completed"),jQuery(".mo-label-step"+i).addClass("mo-muisteplabel-incompleted"),jQuery(".mo-muilti-step-connector"+i).removeClass("mo-multistep-completed"),jQuery(".mo-muilti-step-connector"+i).removeClass("mo-multistep-active")),t==o?(jQuery("#"+t).show(),jQuery(".icon-step"+i).removeClass("mo-multistep-root-active"),jQuery(".icon-step"+i).addClass("mo-multistep-root-completed"),jQuery(".icon-step"+i).removeClass("mo-multistep-root-incompleted"),jQuery(".mo-muilti-step-connector"+i).addClass("mo-multistep-active")):jQuery("#"+t).hide()}jQuery("#step").val(e),jQuery(".mo-multistepper-root").show(),jQuery(".mo-button__footer").show(),jQuery(".mo-skip__footer").hide(),final_step==e?(mooauth_get_summary(),jQuery("#mo-btn-next").hide(),jQuery("#mo-link-draft").hide(),jQuery("#mo-btn-close").hide(),jQuery("#mo-btn-finish").show()):(jQuery("#mo-btn-next").show(),jQuery("#mo-link-draft").show(),jQuery("#mo-btn-close").show(),jQuery("#mo-btn-finish").hide()),last_step==e&&(jQuery("#mo-btn-next").hide(),jQuery("#mo-link-draft").hide(),jQuery("#mo-btn-close").hide(),jQuery(".mo-btn-test-finish_class").show(),jQuery("#mo-btn-test-re-run").show()),jQuery("#mo-btn-back").val("Back"),2==e&&jQuery("#mo-btn-back").val("Change Application")}function mooauth_steps_dcr(){var e=parseInt(jQuery("#step").val())-1,o="step"+e;for(console.log("Current Steps=>"),console.log(e),i=1;i<=last_step;i++){i<e?(jQuery(".icon-step"+i).addClass("mo-multistep-root-completed"),jQuery(".icon-step"+i).removeClass("mo-multistep-root-incompleted"),jQuery(".mo-label-step"+i).removeClass("mo-muisteplabel-incompleted"),jQuery(".mo-label-step"+i).addClass("mo-muisteplabel-completed"),jQuery(".mo-muilti-step-connector"+i).addClass("mo-multistep-completed")):(jQuery(".icon-step"+i).removeClass("mo-multistep-root-completed"),jQuery(".icon-step"+i).addClass("mo-multistep-root-incompleted"),jQuery(".mo-label-step"+i).removeClass("mo-muisteplabel-completed"),jQuery(".mo-label-step"+i).addClass("mo-muisteplabel-incompleted"),jQuery(".mo-muilti-step-connector"+i).removeClass("mo-multistep-active"),jQuery(".mo-muilti-step-connector"+i).removeClass("mo-multistep-completed"));var t="step"+i;t==o?(console.log("show"+t),jQuery("#"+t).show(),jQuery(".icon-step"+i).addClass("mo-multistep-root-active"),jQuery(".mo-label-step"+i).addClass("mo-muisteplabel-active"),jQuery(".mo-muilti-step-connector"+i).addClass("mo-multistep-active")):(console.log("hide"+t),jQuery(".mo-muilti-step-connector"+i).removeClass("mo-multistep-active"),jQuery(".mo-label-step"+i).removeClass("mo-muisteplabel-active"),jQuery(".icon-step"+i).removeClass("mo-multistep-root-active"),jQuery("#"+t).hide()),jQuery("#mo-btn-back").val("Back"),2==e&&jQuery("#mo-btn-back").val("Select New Application")}jQuery("#step").val(e),1==e&&(jQuery(".mo-multistepper-root").hide(),jQuery(".mo-button__footer").hide(),jQuery(".mo-skip__footer").show()),3==e?(jQuery("#mo-btn-finish").show(),jQuery("#mo-link-draft").show()):(jQuery("#mo-btn-finish").hide(),jQuery("#mo-btn-next").show(),jQuery("#mo-link-draft").show(),jQuery("#mo-btn-close").show()),jQuery(".mo-btn-test-finish_class").hide(),jQuery("#mo-btn-test-re-run").hide()}function mooauth_copyUrl(){var e=document.getElementById("callbackurl");e.select(),e.setSelectionRange(0,99999),document.execCommand("copy")}function mooauth_showClientSecret(e,o){var t=document.getElementById(e),a=document.getElementById(o);"password"==t.type?(t.type="text",a.className="fa fa-eye-slash"):(t.type="password",a.className="fa fa-eye")}function mooauth_testConfiguration(e){var o=jQuery("#displayName").val(),t=window.open(e+"/?option=testattrmappingconfig&app="+o,"Test Attribute Configuration","width=600, height=600"),a=setInterval(function(){t.closed&&(clearInterval(a),mooauth_get_test_result(),mo_oauth_trace_test_progress=setInterval(mooauth_get_test_result,100))},1e3)}
     1if(mo_oauth_ajax_object.app)var app=JSON.parse(mo_oauth_ajax_object.app);var last_step=4,final_step=3,mo_oauth_test_ajax_count=0;function mooauth_client_default_apps_input_filter(){var e,o,t,a,s,l,m=0;for(l=0,o=(e=document.getElementById("mo_oauth_client_default_apps_search")).value.toUpperCase(),a=(t=document.getElementById("mo_oauth_client_searchable_apps")).getElementsByTagName("li");l<a.length;l++)
     2    void 0!=(s=a[l].getElementsByClassName("mo_oauth_client_search_idp")[0])&&!s.classList.contains("skip-this")&&s.innerHTML.split("<br>")[1].toUpperCase().indexOf(o)>-1?(a[l].style.display=""):((a[l].style.display="none"),m++),m>=a.length?((document.getElementById("mo_oauth_client_search_res").innerHTML="<p class='lead muted mo_premium_features_notice'>It looks like your identity provider is not listed below, you can select Custom OAuth 2.0 or OpenID to configure the plugin. Please send us query using support form given aside for more details.</p>"),(a[1].style.display=""),(a[2].style.display=""),(a[3].style.display="")):(document.getElementById("mo_oauth_client_search_res").innerHTML="");}
     3    function mooauth_auto_fill_form(){if(null!=app&&(null!=app.mo_oauth_appId||void 0!=app.mo_oauth_appId)){if((mooauth_get_step(app.mo_oauth_step),jQuery("#appId").val(app.mo_oauth_appId),jQuery("#displayName").val(app.mo_oauth_app_name),jQuery("#moauth_show_desc").html('This will displayed on SSO login button as<b> "Login with '+app.mo_oauth_app_name+'"</b>. The entire button name is customizable in paid versions.'),void 0!=app.mo_oauth_scopes_list&&""!=app.mo_oauth_scopes_list)){if(Array.isArray(app.mo_oauth_scopes_list))var e=app.mo_oauth_scopes_list;else var e=JSON.parse(app.mo_oauth_scopes_list);jQuery(".ui.fluid.dropdown").dropdown({values:e}),jQuery("#scope_list").val(app.mo_oauth_scopes_list)}else jQuery(".ui.fluid.dropdown").dropdown({values:[]}),jQuery("#scope_list").val("");if(void 0!=app.mo_oauth_scopes&&""!=app.mo_oauth_scopes&&'[""]'!=app.mo_oauth_scopes){if((console.log("on load"),console.log(app.mo_oauth_scopes),Array.isArray(app.mo_oauth_scopes)))var o=app.mo_oauth_scopes;else var o=JSON.parse(app.mo_oauth_scopes);console.log("after parse"),console.log(app.mo_oauth_scopes),jQuery(".ui.dropdown.fluid").dropdown({allowAdditions:!0,clearable:!0}),jQuery(".ui.fluid.dropdown").dropdown("clear"),jQuery(".ui.fluid.dropdown").dropdown("set selected",o)}else jQuery(".ui.dropdown.fluid").dropdown({allowAdditions:!0,clearable:!0});void 0!=app.mo_oauth_client_id&&jQuery("#clientId").val(app.mo_oauth_client_id),void 0!=app.mo_oauth_client_secret&&jQuery("#clientSecret").val(app.mo_oauth_client_secret);var t=jQuery(".mo-discovery");if((jQuery(t).empty(),void 0!=app.mo_oauth_authorize&&jQuery(t).append('<div class="field-group"><label>Authorization Endpoint</label><input type="text" class="mo-normal-text long-field" name="authorize" id="authorize" value="'+app.mo_oauth_authorize+'" placeholder="Enter authorization endpoint"></div>'),void 0!=app.mo_oauth_token&&jQuery(t).append('<div class="field-group"><label>Token Endpoint</label><input type="text" class="mo-normal-text long-field" name="token" id="token" value="'+app.mo_oauth_token+'" placeholder="Enter token endpoint"></div>'),void 0!=app.mo_oauth_userinfo&&jQuery(t).append('<div class="field-group"><label>Userinfo Endpoint</label><input type="text" class="mo-normal-text long-field" name="userinfo" id="userinfo" value="'+app.mo_oauth_userinfo+'" placeholder="Enter userinfo endpoint"></div>'),void 0!=app.mo_oauth_notice&&jQuery.getJSON(mo_oauth_ajax_object.site_url+"\\wp-content\\plugins\\miniorange-login-with-eve-online-google-facebook\\admin\\partials\\apps\\partials\\defaultapps.json",function(e){jQuery(t).append('<div id= "notice" class="mo-setup-notice">Note : '+e[app.mo_oauth_appId].setup_notice+" </div>")}),void 0!=app.mo_oauth_requesturl&&jQuery(t).append('<div class="field-group"><label>Request Token Endpoint</label><input type="text" class="mo-normal-text long-field" name="requesturl" id="requesturl" value="'+app.mo_oauth_requesturl+'" placeholder="Enter request token endpoint"></div>'),void 0!=app.mo_oauth_input)){jQuery("#discInput").val(app.mo_oauth_input);var a=app.mo_oauth_input.split(" ");for(i in a){var s="mo_oauth_"+a[i],l=a[i];void 0!=app[s]?jQuery(t).append('<div class="field-group"><label>'+l+'</label><input type="text" class="mo-normal-text long-field" name="'+l+'" id="'+l+'" value="'+app[s]+'" placeholder="Enter '+app.mo_oauth_appId+" "+l+'"><i class="fa mo-valid-icon"></i></div>'):jQuery(t).append('<div class="field-group"><label>'+l+'</label><input type="text" class="mo-normal-text long-field" name="'+l+'" id="'+l+'" value="" placeholder="Enter '+app.mo_oauth_appId+" "+l+'"><i class="fa mo-valid-icon"></i></div>')}}
     4    void 0!=app.mo_oauth_guide&&jQuery(".mo-oauth-setup-guide").append('<a href="'+app.mo_oauth_guide+'" class="mo-oauth-setup-guide-link" target="_blank">&nbspSetup Guide</a>&nbsp'),void 0!=app.mo_oauth_video&&jQuery(".mo-oauth-setup-guide").append('<a href="'+app.mo_oauth_video+'" class="mo-oauth-setup-video-link" target="_blank">&nbspVideo Guide</a>'),void 0!=app.mo_oauth_type&&(jQuery("#type").val(app.mo_oauth_type),"oauth1"==app.mo_oauth_type?jQuery("#mo-oauth-scope").hide():jQuery("#mo-oauth-scope").show()),void 0!=app.mo_oauth_debug&&(!0===app.mo_oauth_debug||"true"==app.mo_oauth_debug?jQuery("#debug").prop("checked",!0):jQuery("#debug").prop("checked",!1)),void 0!=app.mo_oauth_send_header&&(!0===app.mo_oauth_send_header||"true"==app.mo_oauth_send_header?jQuery("#send_header").prop("checked",!0):jQuery("#send_header").prop("checked",!1)),void 0!=app.mo_oauth_send_body&&(!0===app.mo_oauth_send_body||"true"==app.mo_oauth_send_body?jQuery("#send_body").prop("checked",!0):jQuery("#send_body").prop("checked",!1)),mooauth_get_summary()}else mooauth_get_step(1)}
     5    function mooauth_update_display_name_description(e){e.value=e.value.replace(/[^a-zA-Z?,.()/@ 0-9]/g,"");var o=e.value;jQuery("#moauth_show_desc").html('This will be displayed on the SSO login button as <b>"Login with '+o+'"</b>. The entire button name is customizable in paid versions.'),jQuery("#moauth_show_warning").html("Note : Special characters are not allowed in app names."),jQuery("#moauth_show_warning").css({"background-color":"#457be221",color:"#1b1b1b",padding:"8px","font-size":"11px",margin:"11px 0px","border-radius":"4px",border:"1px solid #457be2"})}
     6    function mooauth_get_data(e,o){var t=jQuery("#multi-select").dropdown("get value").split(",");if((console.log(e+" "+o),console.log(t),""!=jQuery("#scope_list").val()))var a=JSON.parse(jQuery("#scope_list").val());else var a="";if("back"==o)var s=parseInt(jQuery("#step").val())-1;else if("next"==o)var s=parseInt(jQuery("#step").val())+1;else var s=parseInt(jQuery("#step").val());var l={action:"mo_outh_ajax",mo_oauth_option:e,mo_oauth_appId:jQuery("#appId").val(),mo_oauth_step:s,mo_oauth_nonce:jQuery("#nonce").val(),mo_oauth_scopes:t,mo_oauth_client_id:jQuery("#clientId").val(),mo_oauth_client_secret:jQuery("#clientSecret").val(),mo_oauth_app_name:jQuery("#displayName").val(),mo_oauth_type:jQuery("#type").val(),mo_oauth_scopes_list:a,};jQuery("#authorize").length&&(l.mo_oauth_authorize=jQuery("#authorize").val()),jQuery("#token").length&&(l.mo_oauth_token=jQuery("#token").val()),jQuery("#userinfo").length&&(l.mo_oauth_userinfo=jQuery("#userinfo").val()),jQuery("#notice").length&&(l.mo_oauth_notice=jQuery("#notice").text()),jQuery("#requesturl").length&&(l.mo_oauth_requesturl=jQuery("#requesturl").val());var m=jQuery("#discInput").val();""!=m&&(l.mo_oauth_input=m);var p=m.split(" ");for(i in p)l["mo_oauth_"+p[i]]=jQuery("#"+p[i]).val();return(jQuery(".mo-oauth-setup-guide").length&&(jQuery(".mo-oauth-setup-guide-link").length&&(l.mo_oauth_guide=jQuery(".mo-oauth-setup-guide-link").attr("href")),jQuery(".mo-oauth-setup-video-link").length&&(l.mo_oauth_video=jQuery(".mo-oauth-setup-video-link").attr("href"))),jQuery("#debug").length&&(l.mo_oauth_debug=jQuery("#debug").is(":checked")),jQuery("#send_header").length&&(l.mo_oauth_send_header=jQuery("#send_header").is(":checked")),jQuery("#send_body").length&&(l.mo_oauth_send_body=jQuery("#send_body").is(":checked")),l)}
     7    function mooauth_get_step(e){jQuery("#step").val(e);var o=parseInt(jQuery("#step").val()),t="step"+o;for(i=1;i<=last_step;i++){var e="step"+i;i<o?(jQuery(".icon-step"+i).removeClass("mo-multistep-root-active"),jQuery(".icon-step"+i).removeClass("mo-multistep-root-incompleted"),jQuery(".icon-step"+i).addClass("mo-multistep-root-completed"),jQuery(".mo-label-step"+i).removeClass("mo-muisteplabel-active"),jQuery(".mo-label-step"+i).removeClass("mo-muisteplabel-incompleted"),jQuery(".mo-label-step"+i).addClass("mo-muisteplabel-completed"),jQuery(".mo-muilti-step-connector"+i).addClass("mo-multistep-completed")):(jQuery(".icon-step"+i).removeClass("mo-multistep-root-completed"),jQuery(".icon-step"+i).addClass("mo-multistep-root-incompleted"),jQuery(".mo-label-step"+i).removeClass("mo-muisteplabel-completed"),jQuery(".mo-label-step"+i).addClass("mo-muisteplabel-incompleted"),jQuery(".mo-muilti-step-connector"+i).removeClass("mo-multistep-completed"),jQuery(".mo-muilti-step-connector"+i).removeClass("mo-multistep-active")),e==t?(jQuery("#"+e).show(),jQuery(".icon-step"+i).addClass("mo-multistep-root-active"),jQuery(".mo-label-step"+i).addClass("mo-muisteplabel-active"),jQuery(".mo-muilti-step-connector"+i).addClass("mo-multistep-active")):jQuery("#"+e).hide()}
     8    jQuery("#step").val(o),"1"==o&&(jQuery(".mo-button__footer").hide(),jQuery(".mo-multistepper-root").hide(),jQuery(".mo-skip__footer").show()),"1"!=o&&(jQuery(".mo-button__footer").show(),jQuery(".mo-multistepper-root").show(),jQuery(".mo-skip__footer").hide()),jQuery("#mo-btn-next").hide(),jQuery("#mo-btn-finish").hide(),jQuery("#mo-link-draft").hide(),jQuery("#mo-btn-close").hide(),jQuery(".mo-btn-test-finish_class").hide(),jQuery("#mo-btn-test-re-run").hide(),final_step==o&&(mooauth_get_summary(),jQuery("#mo-btn-finish").show()),last_step==o&&(mooauth_get_summary(),jQuery(".mo-btn-test-finish_class").show()),final_step>o&&(jQuery("#mo-btn-next").show(),jQuery("#mo-link-draft").show(),jQuery("#mo-btn-close").show())}
     9    function mooauth_get_summary(){jQuery(".mo-summary-name").empty(),jQuery(".mo-summary-id").empty(),jQuery(".mo-summary-secret").empty(),jQuery(".mo-summary-scopes").empty(),jQuery(".mo-summary-endpoints").empty(),jQuery(".mo-summary-name").append("Login with "+jQuery("#displayName").val()),jQuery(".mo-summary-id").val(jQuery("#clientId").val()),jQuery(".mo-summary-secret").val(jQuery("#clientSecret").val());var e=jQuery("#multi-select").dropdown("get value").toString().replaceAll(","," ");jQuery(".mo-summary-scopes").append(e),jQuery("#authorize").length&&(jQuery(".mo-summary-endpoints").append('<li class="summary-form-row"><label>Authorization Endpoint :</label><div class="mo-summary-authorize mo-summary-data"></div><a class="mo-editstep" data-step="2"> </a></li>'),jQuery(".mo-summary-authorize").text(jQuery("#authorize").val())),jQuery("#token").length&&(jQuery(".mo-summary-endpoints").append('<li class="summary-form-row"><label>Token Endpoint :</label><div class="mo-summary-token mo-summary-data"></div><a class="mo-editstep" data-step="2"> </a></li>'),jQuery(".mo-summary-token").text(jQuery("#token").val())),jQuery("#userinfo").length&&(jQuery(".mo-summary-endpoints").append('<li class="summary-form-row"><label>Userinfo Endpoint :</label><div class="mo-summary-userinfo mo-summary-data"></div><a class="mo-editstep" data-step="2"> </a></li>'),jQuery(".mo-summary-userinfo").text(jQuery("#userinfo").val())),jQuery("#requesturl").length&&(jQuery(".mo-summary-endpoints").append('<li class="summary-form-row"><label>Request Token Endpoint :</label><div class="mo-summary-requesturl mo-summary-data"></div><a class="mo-editstep" data-step="2"> </a></li>'),jQuery(".mo-summary-requesturl").text(jQuery("#requesturl").val()));var o=jQuery("#discInput").val();if(""!=o)var t=o.split(" ");for(i in t)
     10    jQuery(".mo-summary-endpoints").append('<li class="summary-form-row"><label>'+t[i]+' :</label><div class="mo-summary-'+t[i]+' mo-summary-data"></div><a class="mo-editstep" data-step="2"> </a></li>'),jQuery(".mo-summary-"+t[i]).text(jQuery("#"+t[i]).val());}
     11    function mooauth_input_validation(){var e="success";for(i=0,li=jQuery(".mo-summary-data");i<li.length;i++){if("input"===li[i].localName)var o=jQuery("#"+li[i].id).val();else if("mo-summary-scopes mo-summary-data"!==li[i].className)var o=li[i].childNodes[0];(void 0===o||""===o)&&(e="error")}
     12    return("error"==e&&(jQuery("#mo-btn-finish").tooltip({items:"#mo-btn-finish",content:"ERROR: Some fields are missing. Please add correct input to proceed",offset:[45,170],delay:4e3}),jQuery("#mo-btn-finish").tooltip("open"),setTimeout(function(){jQuery(".ui-tooltip").fadeOut("slow"),jQuery("#mo-btn-finish").tooltip({items:"#mo-btn-finish",content:""})},5e3)),e)}
     13    function mooauth_steps_icr(){console.log("increment");var e=parseInt(jQuery("#step").val())+1,o="step"+e;for(console.log("increment e"+e),i=1;i<=last_step;i++){var t="step"+i;i<e?(jQuery(".icon-step"+i).removeClass("mo-multistep-root-active"),jQuery(".icon-step"+i).removeClass("mo-multistep-root-incompleted"),jQuery(".icon-step"+i).addClass("mo-multistep-root-completed"),jQuery(".mo-label-step"+i).removeClass("mo-muisteplabel-active"),jQuery(".mo-label-step"+i).removeClass("mo-muisteplabel-incompleted"),jQuery(".mo-label-step"+i).addClass("mo-muisteplabel-completed"),jQuery(".mo-muilti-step-connector"+i).addClass("mo-multistep-completed"),jQuery(".mo-muilti-step-connector"+i).removeClass("mo-multistep-active")):(jQuery(".icon-step"+i).removeClass("mo-multistep-root-completed"),jQuery(".icon-step"+i).addClass("mo-multistep-root-incompleted"),jQuery(".mo-label-step"+i).removeClass("mo-muisteplabel-completed"),jQuery(".mo-label-step"+i).addClass("mo-muisteplabel-incompleted"),jQuery(".mo-muilti-step-connector"+i).removeClass("mo-multistep-completed"),jQuery(".mo-muilti-step-connector"+i).removeClass("mo-multistep-active")),t==o?(jQuery("#"+t).show(),jQuery(".icon-step"+i).removeClass("mo-multistep-root-active"),jQuery(".icon-step"+i).addClass("mo-multistep-root-completed"),jQuery(".icon-step"+i).removeClass("mo-multistep-root-incompleted"),jQuery(".mo-muilti-step-connector"+i).addClass("mo-multistep-active")):jQuery("#"+t).hide()}
     14    jQuery("#step").val(e),jQuery(".mo-multistepper-root").show(),jQuery(".mo-button__footer").show(),jQuery(".mo-skip__footer").hide(),final_step==e?(mooauth_get_summary(),jQuery("#mo-btn-next").hide(),jQuery("#mo-link-draft").hide(),jQuery("#mo-btn-close").hide(),jQuery("#mo-btn-finish").show()):(jQuery("#mo-btn-next").show(),jQuery("#mo-link-draft").show(),jQuery("#mo-btn-close").show(),jQuery("#mo-btn-finish").hide()),last_step==e&&(jQuery("#mo-btn-next").hide(),jQuery("#mo-link-draft").hide(),jQuery("#mo-btn-close").hide(),jQuery(".mo-btn-test-finish_class").show(),jQuery("#mo-btn-test-re-run").show()),jQuery("#mo-btn-back").val("Back"),2==e&&jQuery("#mo-btn-back").val("Change Application")}
     15    function mooauth_steps_dcr(){var e=parseInt(jQuery("#step").val())-1,o="step"+e;for(console.log("Current Steps=>"),console.log(e),i=1;i<=last_step;i++){i<e?(jQuery(".icon-step"+i).addClass("mo-multistep-root-completed"),jQuery(".icon-step"+i).removeClass("mo-multistep-root-incompleted"),jQuery(".mo-label-step"+i).removeClass("mo-muisteplabel-incompleted"),jQuery(".mo-label-step"+i).addClass("mo-muisteplabel-completed"),jQuery(".mo-muilti-step-connector"+i).addClass("mo-multistep-completed")):(jQuery(".icon-step"+i).removeClass("mo-multistep-root-completed"),jQuery(".icon-step"+i).addClass("mo-multistep-root-incompleted"),jQuery(".mo-label-step"+i).removeClass("mo-muisteplabel-completed"),jQuery(".mo-label-step"+i).addClass("mo-muisteplabel-incompleted"),jQuery(".mo-muilti-step-connector"+i).removeClass("mo-multistep-active"),jQuery(".mo-muilti-step-connector"+i).removeClass("mo-multistep-completed"));var t="step"+i;t==o?(console.log("show"+t),jQuery("#"+t).show(),jQuery(".icon-step"+i).addClass("mo-multistep-root-active"),jQuery(".mo-label-step"+i).addClass("mo-muisteplabel-active"),jQuery(".mo-muilti-step-connector"+i).addClass("mo-multistep-active")):(console.log("hide"+t),jQuery(".mo-muilti-step-connector"+i).removeClass("mo-multistep-active"),jQuery(".mo-label-step"+i).removeClass("mo-muisteplabel-active"),jQuery(".icon-step"+i).removeClass("mo-multistep-root-active"),jQuery("#"+t).hide()),jQuery("#mo-btn-back").val("Back"),2==e&&jQuery("#mo-btn-back").val("Select New Application")}
     16    jQuery("#step").val(e),1==e&&(jQuery(".mo-multistepper-root").hide(),jQuery(".mo-button__footer").hide(),jQuery(".mo-skip__footer").show()),3==e?(jQuery("#mo-btn-finish").show(),jQuery("#mo-link-draft").show()):(jQuery("#mo-btn-finish").hide(),jQuery("#mo-btn-next").show(),jQuery("#mo-link-draft").show(),jQuery("#mo-btn-close").show()),jQuery(".mo-btn-test-finish_class").hide(),jQuery("#mo-btn-test-re-run").hide()}
     17    function mooauth_copyUrl(){var e=document.getElementById("callbackurl");e.select(),e.setSelectionRange(0,99999),document.execCommand("copy")}
     18    function mooauth_showClientSecret(e,o){var t=document.getElementById(e),a=document.getElementById(o);"password"==t.type?((t.type="text"),(a.className="fa fa-eye-slash")):((t.type="password"),(a.className="fa fa-eye"))}
     19    function mooauth_testConfiguration(e){var o=jQuery("#displayName").val(),t=window.open(e+"/?option=testattrmappingconfig&app="+o,"Test Attribute Configuration","width=600, height=600"),a=setInterval(function(){t.closed&&(clearInterval(a),mooauth_get_test_result(),(mo_oauth_trace_test_progress=setInterval(mooauth_get_test_result,100)))},1e3)}
  • miniorange-login-with-eve-online-google-facebook/trunk/admin/partials/setup_wizard/partials/apps.php

    r2925905 r3288271  
    3535        }
    3636
    37         if ( 'oauth2.1' === $app_id ) {
    38             echo '<li data-appid="' . esc_attr( $app_id ) . '" class="mo-flex-item mo_oauth_tooltip "><span class="mo_oauth_tooltiptext">OAuth 2.1 protocol is supported in our paid plugin versions. You can reach out to us to unlock this functionality.</span><a href="#"><img class="mo_oauth_two_point_one_app_icon" src=" ' . esc_url( plugins_url( '/partials/apps/images/oauth2.png', dirname( dirname( dirname( __FILE__ ) ) ) ) ) . '"><img class="mo_oauth_pro_icon" src="' . esc_url( plugins_url( '/partials/apps/images/pro.png', dirname( dirname( dirname( __FILE__ ) ) ) ) ) . '">';
     37        if ( 'oauth2.1' === $app_id || 'neoncrm' === $app_id || 'mindbody' === $app_id || 'imis' === $app_id || 'classlink' === $app_id || 'vendesta' === $app_id || 'clever' === $app_id || 'orcid' === $app_id ) {
     38            $image_name      = $application->image;
     39            $tooltip_message = 'oauth2.1' === $app_id ? 'OAuth 2.1 protocol is supported in our paid plugin versions. You can reach out to us to unlock this functionality.' : esc_html( $application->label ) . ' application is available in the Paid Version of the plugin. <a class ="skip-this" style="color:#ffd700; text-decoration:underline;" href="' . esc_url( MO_OAUTH_CLIENT_PRICING_PLAN ) . '" target="_blank">Click here</a> to upgrade the plan.';
     40            $image_url       = plugins_url( '/partials/apps/images/' . $image_name, dirname( dirname( dirname( __FILE__ ) ) ) );
     41            echo '<li data-appid="' . esc_attr( $app_id ) . '" class="mo-flex-item mo_oauth_tooltip "><span class="mo_oauth_tooltiptext">' . wp_kses_post( $tooltip_message ) . '</span><a class = "mo_oauth_client_search_idp" href="#"><img class="mo_oauth_two_point_one_app_icon" src="' . esc_url( $image_url ) . '"><img class="mo_oauth_pro_icon" src="' . esc_url( plugins_url( '/partials/apps/images/pro.png', dirname( dirname( dirname( __FILE__ ) ) ) ) ) . '">';
    3942        } else {
    40             echo '<li data-appid="' . esc_attr( $app_id ) . '" class="mo-flex-item"><a ' . ( 'cognito' === $app_id ? 'id=vip-default-app' : '' ) . ' href="#" ><img class="mo_oauth_client_default_app_icon" src=" ' . esc_url( plugins_url( '/partials/apps/images/' . $application->image, dirname( dirname( dirname( __FILE__ ) ) ) ) ) . '">';
     43            echo '<li data-appid="' . esc_attr( $app_id ) . '" class="mo-flex-item"><a class = "mo_oauth_client_search_idp" ' . ( 'cognito' === $app_id ? 'id=vip-default-app' : '' ) . ' href="#" ><img class="mo_oauth_client_default_app_icon" src=" ' . esc_url( plugins_url( '/partials/apps/images/' . $application->image, dirname( dirname( dirname( __FILE__ ) ) ) ) ) . '">';
    4144        }
    4245
     
    5962                jQuery("#moauth_show_desc").html("This will displayed on SSO login button as <b>\"Login with " +appId +"\"</b>. The entire button name is customizable in paid versions.");
    6063                var selected_app_child = jQuery(this).children();
    61                 console.log(jQuery(selected_app_child[1]).val());
     64                var jsonStr = jQuery(selected_app_child[1]).val();
     65                if (jsonStr) {
     66                    try {
     67                        var selected_app = jQuery.parseJSON(jsonStr);
     68                    } catch (e) {
     69                        return;
     70                    }
     71                } else {
     72                    return;
     73                }
    6274                var selected_app = jQuery.parseJSON(jQuery(selected_app_child[1]).val());
    6375                var discovery = jQuery(".mo-discovery");
  • miniorange-login-with-eve-online-google-facebook/trunk/mo_oauth_settings.php

    r3275481 r3288271  
    1313 * Plugin URI: https://wordpress.org/plugins/miniorange-login-with-eve-online-google-facebook
    1414 * Description: This WordPress Single Sign-On plugin allows login into WordPress with your Azure AD B2C, AWS Cognito, Salesforce, Keycloak, Discord, WordPress or other custom OAuth 2.0 / OpenID Connect providers. WordPress OAuth Client plugin works with any Identity provider that conforms to the OAuth 2.0 and OpenID Connect (OIDC) 1.0 standard.
    15  * Version: 6.26.8
     15 * Version: 6.26.9
    1616 * Author: miniOrange
    1717 * Author URI: https://www.miniorange.com
     
    3636require 'admin' . DIRECTORY_SEPARATOR . 'partials' . DIRECTORY_SEPARATOR . 'mo_plugins' . DIRECTORY_SEPARATOR . 'autoload.php';
    3737require_once 'class-mooauth.php';
    38 define( 'MO_OAUTH_CSS_JS_VERSION', '6.26.8' );
     38define( 'MO_OAUTH_CSS_JS_VERSION', '6.26.9' );
    3939define( 'MO_OAUTH_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
    4040
  • miniorange-login-with-eve-online-google-facebook/trunk/readme.txt

    r3275481 r3288271  
    55Tested up to: 6.8
    66Requires PHP: 5.4
    7 Stable tag: 6.26.8
     7Stable tag: 6.26.9
    88License: Expat
    99License URI: https://docs.miniorange.com/mit-license
     
    229229
    230230== Changelog ==
     231= 6.26.9 =
     232* Advertise premium applications like iMIS, NeonCRM, and others
     233* Minor UI improvements and bug fixes
     234
    231235= 6.26.8 =
    232236* Added WordPress 6.8 Compatibility
     
    814818
    815819== Upgrade Notice ==
     820= 6.26.9 =
     821* Advertise premium applications like iMIS, NeonCRM, and others
     822* Minor UI improvements and bug fixes
     823
    816824= 6.26.8 =
    817825* Added WordPress 6.8 Compatibility
Note: See TracChangeset for help on using the changeset viewer.