[FRS-432] Automatically login to FusionReactor 6


Introduction

FusionReactor provides several user roles each allowing a different set of actions.

The available users are:

  • Administrator
  • Manager
  • Observer

This technote will demonstrate using a cookie to configure a webpage that will automatically log in to FusionReactor as an observer, however the process is the same for an administrator or manager.

Getting the cookie information

To view the cookie for FusionReactor you can use the console of your browser, In my case I can use the F12 key on Google Chrome. You must be logged into the instance for the cookie to exist.
You can then navigate to the Application tab and view the cookie for FusionReactor like so:

Creating the login page


You will now need to create a blank html page.

In the page insert the code below:

 <html>
	<head>
		<title>FusionReactor Auto-Login</title>
	</head>
	<body>
		<script type="text/javascript">
			document.cookie =
				'FusionReactorAuthorization.testtc7' +
				'=' +
				'Observer:FE0FF6B85C7164B1DA6FCECFF06E5611';
			window.location =
				'http://localhost:8098/fusionreactor/';
		</script>
	</body>
</html> 

In the example below I have copied the cookie name and value from my instance testTC7 into the document.cookie. My server is located on port 8098 so I have specified this as the window location.

You will need to edit these values to match your servers configuration. When this is complete your automatic login script should direct you straight into your FusionReactor instance.

Issue Details

Type: Technote
Issue Number: FRS-432
Components: UI
Environment:
Resolution: Fixed
Last Updated: Today 4:41 PM
Affects Version:
Fixed Version: 5.0.0
Server:
Platform:
Related Issues: