Google AdSense Single Sign-On (SSO)
Google AdSense is a web service which allows a publishers and website owners to sell ad space to businesses. Google AdSense include serving of text, images, video or any interactive media related to the content and site. miniOrange provides a ready to use Single Sign-On (SSO) solution for Google AdSense. This solution ensures that you are ready to roll out secure access to Webflow to your employees within minutes to accomplish most aspects of web development & website distribution entirely within the application.
For web applications that do not provide support for federated single sign-on, we have miniOrange Secure Single Sign-On browser plugins for SSO. Here, it is enabled on an application, where end users see an icon on their home pages and browsers, through this users can set and update their credentials. ( In the secure store for that application only).
miniOrange Supports all Browser Extension
- miniOrange Secure Single Sign-On Plugins for SSO support all popular web browsers like Chrome, Firefox, Safari, Internet Explorer and Microsoft Edge.
- Browser plugin a secure driven post to the application login page, signing in the user automatically on their behalf. - The plug-in does not store the credentials anywhere and they are discarded once the user has signed into the application.
- Users credentials are stored in an encrypted format by using AES encryption with the combination of a customer-specific private key. When a user clicks the application icon, miniOrange securely posts the username/password to the app login page over SSL and the user is automatically logged in.
Connect with External Source of Users
miniOrange provides user authentication from various external sources, which can be Directories (like ADFS, Microsoft Active Directory, Microsoft Entra ID, OpenLDAP, Google, AWS Cognito etc), Identity Providers (like Shibboleth, Ping, Okta, OneLogin, KeyCloak), Databases (like MySQL, Maria DB, PostgreSQL) and many more.
Get Free Installation Help - Book a Slot
miniOrange offers free help through a consultation call with our System Engineers to Install or Setup Google AdSense SSO solution in your environment with 30 days trial.
For this, you need to just send us an email at idpsupport@xecurify.com to book a slot and we'll help you setting it up in no time.
Get Help
Follow the Step-by-Step Guide given below for Google AdSense Single Sign-On (SSO)
1. Configure Google AdSense in miniOrange
- Log into miniOrange Admin Console.
- Go to Apps >> click Add Application button.
![Google AdSense Single Sign-On (SSO) add app](/images/common-template-saml-images/add-app.webp)
- In Choose Application Type click on BROWSER EXTENSION/FORM-POST as application type.
![Google AdSense Single Sign-On (SSO) Browser Add On](/images/common-browser-extension-images/select-browser-extension.webp)
- Search for Google AdSense in the list, if you don't find Google AdSense in the list then, click on Add Custom App button.
![Google AdSense Single Sign-On (SSO) Browser Add On](/images/common-browser-extension-images/add-custom-app.webp)
- Configure your Google AdSense app. Add Application Name and Login Page URL. Select App Type as SIMPLE_LOGIN. (Refer to the table below for more details)
App Type |
Description |
SIMPLE LOGIN |
When its a Simple form with Username, password and a button to Login |
LOGIN_WITH_DOMAIN |
When along with username and password, there is another field that requires input (constant like account id or domain) |
LOGIN_AFTER_CLICK |
When the login form loads after a button click only. |
LOGIN_SECOND_PAGE |
1. When username and password are on separate pages[2 page form].
2. When username and password are on separate pages and also have separate buttons on
each page (Separate button means that they cant be identified with a common query).
Submit Button Field :Query Format
document.querySelector(username-query) == null ? document.querySelector(button-1 query);
document.querySelector(password-query).parentElement.parentElement.parentElement.querySelector(button-2 query)
For ex:-
1. username-query :- Insert query selector of selecting username with unique attributes[id ,class, name , type]
2. password-query :- Insert query selector of selecting password with unique attributes[id ,name , type]
3. button-1 query, button-2 query :- insert query selector of selecting button with unique attributes[ class,name, type]
|
LOGIN_WITH_PRE_CLICK |
When a click is required before submitting the form. E.g, Some checkbox needs to be clicked. |
- Add QuerySelectors for Username, Password and Sign-in/Login Button.
(Click here to learn more about QuerySelectors. or reach out to us at idpsupport@xecurify.com for help).
![Google AdSense Single Sign-On SSO Enter the following app details](/images/google-adsense/provide-google-adsense-details.webp)
- Click on Save.
- Now your Google AdSense application is added in the below list. Click on it.
![Google AdSense Single Sign-On SSO : Application sucessfully added in given list](/images/google-adsense/add-google-adsense-app.webp)
- Enter the following details in fields below:
App details |
Description |
Group Name |
Select Group name as default.(This will allow all your added groups to access this service) |
Policy Name |
Select Policy Name the same as your application name. |
Individual Login |
If each user has a different username and password for the app, admin should choose an Individual Login Account option, so that users can save their username and password from the user portal themselves. |
Shared Login |
If multiple users are allowed to access the app via the same credentials assigned by admin, admin should choose share Login Account option. |
![CallRail Single Sign-On (SSO) application name](/images/google-adsense/click-save.webp)
- Select your login type and click on the Save button.
- From the top right side click Profile >> and then User Dashboard.
![Google AdSense Single Sign On (sso) user dashboard](/images/common-browser-extension-images/account-user-dashboard.webp)
- Under the "SIGN-IN TO YOUR FAVOURITE CLOUD APPS" section search for Google AdSense app. Click on Google AdSense app icon then, click Download symbol.
![Google AdSense Single Sign-On (SSO) Download Extension](/images/google-adsense/download-extension.webp)
- It will redirect you to add extension page. Now, click on the Add to Chrome.
![Google AdSense Single Sign-On (sso) add extension in chrome](/images/common/add-chrome.webp)
- Click on Add extension.
![Google AdSense Single Sign-On (sso) extension added in chrome](/images/common/add-extention.webp)
- Now, miniOrange extension is added in your extension
- Click on the app icon from miniOrange user portal, you will be redirected to Google AdSense login page.
![Google AdSense Single Sign-On (sso) user login page](/images/google-adsense/google-adsense-loginpage.webp)
- Now browser extension will fill the username and password credentials automatically. Once enabled, end users can see an icon on their browser which auto-fills username and password on the application login page and submit the page automatically to let user access the app.
- Now, you can see the homepage of the app.
2. Embed Google AdSense application link in your Website/User Portal
- Go to Admin Dashboard >> Apps >> search for Google AdSense app.
- Click on Select in Action menu against Google AdSense app. Select Show SSO link option from dropdown.
![Google AdSense Single Sign On (sso) application link](/images/common-browser-extension-images/get-login-link.webp)
- Copy the app link and paste it anywhere on your website - User portal/ Apps Dashboard /Menu, etc.
![Google AdSense Single Sign On (sso) copy link](/images/common/link-copy.webp)
3. Configure Your User Directory (Optional)
miniOrange provides user authentication from various external sources, which can be Directories (like ADFS, Microsoft Active Directory, Microsoft Entra ID, OpenLDAP, Google, AWS Cognito etc), Identity Providers (like Okta, Shibboleth, Ping, OneLogin, KeyCloak), Databases (like MySQL, Maria DB, PostgreSQL) and many more. You can configure your existing directory/user store or add users in miniOrange.
- Click on External Directories >> Add Directory in the left menu of the dashboard.
![Google AdSense: Configure User Store](/images/common-template-saml-images/add-user-store.webp)
- Select Directory type as AD/LDAP.
![Google AdSense: Select AD/LDAP as user store](/images/common-template-saml-images/select-ad-ldap.webp)
- STORE LDAP CONFIGURATION IN MINIORANGE: Choose this option if you want to keep your configuration in miniOrange. If active directory is behind a firewall, you will need to open the firewall to allow incoming requests to your AD.
- STORE LDAP CONFIGURATION ON PREMISE: Choose this option if you want to keep your configuration in your premise and only allow access to AD inside premises. You will have to download and install miniOrange gateway in your premise.
![Google AdSense: Select ad/ldap user store type](/images/common-template-saml-images/ldap-user-store.webp)
- Enter LDAP Display Name and LDAP Identifier name.
- Select Directory Type as Active Directory.
- Enter the LDAP Server URL or IP Address against LDAP Server URL field.
- Click on Test Connection button to verify if you have made a successful connection with your LDAP server.
![Google AdSense: Configure LDAP server URL Connection](/images/common-template-saml-images/test-ldap-connection.webp)
- In Active Directory, go to the properties of user containers/OU's and search for Distinguished Name attribute.
![Google AdSense: Configure user bind account domain name](/images/common-template-saml-images/adfs-distinguished-name.webp)
- Enter the valid Bind account Password.
- Click on Test Bind Account Credentials button to verify your LDAP Bind credentials for LDAP connection.
![Google AdSense: Check bind account credentials](/images/common-template-saml-images/test-bind-account-credentials.webp)
- Search Base is the location in the directory where the search for a user begins. You will get this from the same place you got your Distinguished name.
![Google AdSense: Configure user search base](/images/common-template-saml-images/adfs-search-base.webp)
- Select a suitable Search filter from the drop-down menu. If you use User in Single Group Filter or User in Multiple Group Filter, replace the <group-dn> in the search filter with the distinguished name of the group in which your users are present. To use custom Search Filter select "Write your Custom Filter" option and customize it accordingly.
![Google AdSense: Select user search filter](/images/common-template-saml-images/adfs-search-filter.webp)
- You can also configure following options while setting up AD. Enable Activate LDAP in order to authenticate users from AD/LDAP. Click on the Save button to add user store.
![Google AdSense: Activate LDAP options](/images/common-template-saml-images/ldap-options.webp)
Here's the list of the attributes and what it does when we enable it. You can enable/disable accordingly.
Attribute |
Description |
Activate LDAP |
All user authentications will be done with LDAP credentials if you Activate it |
Sync users in miniOrange |
Users will be created in miniOrange after authentication with LDAP |
Fallback Authentication |
If LDAP credentials fail then user will be authenticated through miniOrange |
Allow users to change password |
This allows your users to change their password. It updates the new credentials in your LDAP server |
Enable administrator login |
On enabling this, your miniOrange Administrator login authenticates using your LDAP server |
Show IdP to users |
If you enable this option, this IdP will be visible to users |
Send Configured Attributes |
If you enable this option, then only the attributes configured below will be sent in attributes at the time of login |
- Click on Save. After this, it will show you the list of User stores. Click on Test Connection to check whether you have enter valid details. For that, it will ask for username and password.
![Google AdSense: Test AD/Ldap connection](/images/common-template-saml-images/ldap-test-connections.webp)
- On Successful connection with LDAP Server, a success message is shown.
- Click on Test Attribute Mapping.
![Google AdSense LDAP successful connection](/images/common-template-saml-images/attribute-mapping.webp)
- Enter a valid Username. Then, click on Test. Mapped Attributes corresponding to the user are fetched.
![Google AdSense: Fetch mapped attributes for user](/images/common-template-saml-images/active-directory-fetched-attributes.webp)
- After successful Attribute Mapping Configuration, go back to the ldap configuration and enable Activate LDAP in order to authenticate users from AD/LDAP.
Refer our guide to setup LDAPS on windows server.
User Import and Provisioning from AD
- Go to Settings >> Product Settings in the Customer Admin Account.
![MFA/Two-Factor Authentication(2FA) for miniOrange dashboard](/images/template-images/switch-to-settings.webp)
- Enable the "Enable User Auto Registration" option and click Save.
![MFA/Two-Factor Authentication(2FA) for Enable User Auto Registration](/images/common/enable-user-auto-register.webp)
- (Optional) To send a welcome email to all the end users that will be imported, enable the "Enable sending Welcome Emails after user registration" option and click Save.
![MFA/Two-Factor Authentication(2FA) for Enable sending Welcome Emails after user registration](/images/common/enable-sending-welcome-emails-after-user-registration.webp)
- From the Left-Side menu of the dashboard select Provisioning.
![MFA/Two-Factor Authentication(2FA) for User Sync/Provisioning](/images/vpn-template/vpn-user-sync.webp)
- In Setup Provisioning tab select Active Directory in the Select Application drop-down.
- Toggle the Import Users tab, click on Save button.
![MFA/Two-Factor Authentication(2FA) for User Sync Active Directory Configuration](/images/template-images/ad-user-sync.webp)
- On the same section, switch to Import Users section.
- Select Active Directory from the dropdown and click on the Import Users tab, to import all the users from Active Directory to miniOrange.
![MFA/Two-Factor Authentication(2FA) for User Sync Import Operation](/images/template-images/import-users.webp)
- You can view all the Users you have imports by selecting Users >> User List from Left Panel.
![MFA/Two-Factor Authentication(2FA) for User List](/images/template-images/check-users-list.webp)
- All the imported users will be auto registered.
- These groups will be helpful in adding multiple 2FA policies on the applications.
miniOrange integrates with various external user sources such as directories, identity providers, and etc.
External References