To Enable Silent Logon
Before You Proceed
Before you enable silent logon, you need to configure your MYOB Advanced instance to use the external identity provider with which you want to set up silent logon.
If you want to enable silent logon with Google or Microsoft Account, make sure that your users have registered their external accounts with the MYOB Advanced instance, as described in To Activate Your Google or Microsoft Account.
To Enable Silent Logon
- Open the web.config file for the site instance. Tip: Usually the file is located in %Program Files%\MYOB Advanced\<instance name>, where <instance name> is the name of the application instance website.Important: When you save changes to the web.config file, the website is automatically restarted. Make sure that all users are warned about the restart so that they can save their documents in advance.
- Add the
Silentlogin
parameter to the<externalAuth>
section, as shown below.<externalAuth returnUrl="Main.aspx" authUrl="Frames/AuthDock.ashx" silentLogin="{parameter}" />
- Specify one of the following values of the
Silentlogin
parameter, depending on the identity provider.- Federation: To enable silent logon with Microsoft Azure Active Directory or Active Directory Federation Services, depending on your system configuration.
- Google: To enable silent logon with Google.
- MicrosoftAccount: To enable silent logon with Microsoft Account.
- Save your changes to web.config.
To Disable Silent Logon
- Open the web.config file for the site instance. Tip: Usually the file is located in %Program Files%\MYOB Advanced\<instance name>, where <instance name> is the name of the application instance website.Important: When you save changes to the web.config file, the website is automatically restarted. Make sure that all users are warned about the restart so that they can save their documents in advance.
- Specify the none value for the
Silentlogin
parameter in the<externalAuth>
section, as shown below.<externalAuth returnUrl="Main.aspx" authUrl="Frames/AuthDock.ashx" silentLogin="none" />
- Save your changes to web.config.
To Override Silent Logon Settings with URL Parameters
You can specify a different external identity provider or disable silent logon
using the SilentLogin
URL parameter with a corresponding value
in the URL of your MYOB Advanced instance or a particular form. It overrides a value of the
SilentLogin
parameter specified in the
web.config file.
The SilentLogin
URL parameter can take the following values.
Parameter | Identity Provider |
---|---|
None | MYOB Advanced |
Federation | Microsoft Azure Active Directory or Active Directory Federation Services |
MicrosoftAccount | Microsoft Account |
Example
To sign in to an MYOB Advanced instance using silent logon for Google account, you use the following URL:
http://app.site.com/instance/Login.aspx?SilentLogin=Google