Silently install Okta Browser Plugin on Firefox
Use this guide to silently install the Okta Browser Plugin on Firefox for your groups.
Firefox only supports silent installation in the Firefox Extended Support Release (ESR) versions 128.5.1 and later. See Sideloading add-ons.
Start this procedure
-
Go to the Okta Browser Plugin page in the Firefox Browser Add-Ons store and then click Download file.
-
Rename the xpi file that you downloaded to
plugin@okta.com.xpi. The digital signature check fails if the file isn't namedplugin@okta.com.xpi. -
Move
plugin@okta.com.xpito the Firefox extensions directory. Create the directory if it doesn't exist. These are the paths on different operating systems:Platform Example location Windows C:\Program Files\Mozilla Firefox\browser\extensions\plugin@okta.com.xpiMac OSX /Library/Application Support/Mozilla/Extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/plugin@okta.com.xpiLinux /usr/lib/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/plugin@okta.com.xpi -
Create a text file called
okta-mozilla.cfg. Copy and paste this content into the file:// Don't skip this comment. If the first line isn't a comment, the file doesn't load. lockPref("extensions.autoDisableScopes", 0); // Don't show the 'enable plugin' splash page.This configuration file enables the Okta Browser Plugin by default.
The next time a user signs in, a splash page appears asking whether to enable the plugin. Instruct your users to enable the plugin.
-
Save
okta-mozilla.cfgto the Firefox install directory. These are the paths on different operating systems:Platform Example location Windows C:\Program Files\Mozilla Firefox\okta-mozilla.cfgMac OSX /Applications/Firefox.app/Contents/Resources/okta-mozilla.cfgLinux /usr/lib/firefox/okta-mozilla.cfg -
Create a text file called
okta-prefs.jswith the following contents:// Don't skip this comment. If the first line isn't a comment, the file doesn't load. pref("general.config.obscure_value", 0); // Don't use ROT13 encoding for the config file. pref("general.config.filename", "okta-mozilla.cfg"); // Tell Firefox to load the okta-mozilla.cfg config file. -
Save
okta-prefs.jsto the/defaults/prefsubdirectory of the Firefox install directory. These are the paths on different operating systems:Platform Example location Windows C:\Program Files\Mozilla Firefox\defaults\pref\okta-prefs.jsMac OSX /Applications/Firefox.app/Contents/Resources/defaults/pref/okta-prefs.jsLinux /usr/lib/firefox/defaults/pref/okta-prefs.js -
Open Firefox. The Okta icon appears in the upper-right side of the toolbar.
Related topics