<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://rt-wiki.bestpractical.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Anthnd</id>
	<title>Request Tracker Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://rt-wiki.bestpractical.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Anthnd"/>
	<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/wiki/Special:Contributions/Anthnd"/>
	<updated>2026-08-22T12:42:48Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=OpenIDConnectWithApache&amp;diff=26434</id>
		<title>OpenIDConnectWithApache</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=OpenIDConnectWithApache&amp;diff=26434"/>
		<updated>2016-11-15T19:45:40Z</updated>

		<summary type="html">&lt;p&gt;Anthnd: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Softwares used in this guide ==&lt;br /&gt;
 - RT 4.4.1&lt;br /&gt;
 - Apache&lt;br /&gt;
 - mod_auth_openidc (an Apache module that does all the OpenIDC work)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing mod_auth_openidc ==&lt;br /&gt;
You can find it on Github [https://github.com/pingidentity/mod_auth_openidc/ here].&lt;br /&gt;
&lt;br /&gt;
You can get the latest release [https://github.com/pingidentity/mod_auth_openidc/releases/latest here].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Ubuntu installation ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install libapache2-mod-auth-openidc&lt;br /&gt;
a2enmod auth_openidc&lt;br /&gt;
service apache2 restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== CentOS 7 installation ====&lt;br /&gt;
&lt;br /&gt;
Get the links for the latest centos .rpm releases of cjose and mod_auth_openidc in the link above. You may also need to find a centos .rpm for [https://pkgs.org/search/hiredis hiredis] - remember to expand the tab for the OS of your choice (CentOS 7 in this case).&lt;br /&gt;
&lt;br /&gt;
Then simply,&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
yum install https://github.com/pingidentity/mod_auth_openidc/releases/download/v2.1.0/cjose-0.4.1-1.el7.centos.x86_64.rpm&lt;br /&gt;
yum install http://dl.fedoraproject.org/pub/epel/7/x86_64/h/hiredis-0.12.1-1.el7.x86_64.rpm&lt;br /&gt;
yum install https://github.com/pingidentity/mod_auth_openidc/releases/download/v2.1.0/mod_auth_openidc-2.1.0-1.el7.centos.x86_64.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the mod_auth_openidc module should be installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Signing up with an OpenID Connect Provider ==&lt;br /&gt;
To authenticate users, your server needs to be able to talk to someone they trust to provide user identities. In this guide, we will use Google as our OpenID Connect Provider — almost everyone has a Google account. To be able to use Google&#039;s authentication services, you will need to visit their [https://console.developers.google.com Developer console].&lt;br /&gt;
&lt;br /&gt;
1. Find the Google+ API &lt;br /&gt;
2. If you click on it, there should be a little header saying you need to create a project. Click the Create Project button and proceed through the setup&lt;br /&gt;
3. You will be brought back to the Google+ API screen. On this page, press the Enable button near the top&lt;br /&gt;
4. In the left navigation pane, go to Credentials&lt;br /&gt;
5. Press the Create Credentials dropdown and select OAuth client ID&lt;br /&gt;
6. Configure the consent screen&lt;br /&gt;
7. Next, it should ask you to select an application type, pick Web application&lt;br /&gt;
8. Give your app a name and don&#039;t fill out the other blanks unless you know what they&#039;re going to be set up to already&lt;br /&gt;
9. There should be a popup telling you what your client ID and secret are — these will be needed later.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Basic setup ==&lt;br /&gt;
=== Configuring mod_auth_openidc ===&lt;br /&gt;
Now you have to piece everything together. You can read the mod_auth_openidc Documentation or Wiki pages to set everything up if you&#039;d like, but I&#039;ll be providing a step-by-step procedure as well.&lt;br /&gt;
&lt;br /&gt;
So, you&#039;re going to have to put some Apache config code somewhere to get mod_auth_openidc to start actually doing things. &lt;br /&gt;
&lt;br /&gt;
For my environment, this is the path to my .conf file:&lt;br /&gt;
&amp;lt;pre&amp;gt;/etc/httpd/conf.d/mod_auth_openidc.conf&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you don&#039;t have a conf.d folder or some other problem, you can put the Apache config code at the end of your default Apache config file. For my environment, this is the path:&lt;br /&gt;
&amp;lt;pre&amp;gt;/etc/httpd/conf/httpd.conf&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Whatever you choose to do, here are the basic settings that you will need to integrate Google&#039;s Sign-In with Request Tracker:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note: In this setup, RT is found on localhost&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# This is the link that Google uses to introduce itself and tell your server it&#039;s trustworthy&lt;br /&gt;
OIDCProviderMetadataURL https://accounts.google.com/.well-known/openid-configuration&lt;br /&gt;
&lt;br /&gt;
# The credentials you were presented in the Google Dev Console&lt;br /&gt;
OIDCClientID a1b2c3d4e5f-j8f91083j0981j02909kd408tu.apps.googleusercontent.com&lt;br /&gt;
OIDCClientSecret as98jtg981jk02k0a&lt;br /&gt;
&lt;br /&gt;
# Must match exactly with Authorized redirect URI in your Google Dev Console&lt;br /&gt;
OIDCRedirectURI http://localhost/oauth2callback&lt;br /&gt;
&lt;br /&gt;
# Set this to whatever you want&lt;br /&gt;
OIDCCryptoPassphrase anypasswordhere&lt;br /&gt;
&lt;br /&gt;
# This will set the environment variable REMOTE_USER to the user&#039;s email address instead of the default setting&lt;br /&gt;
OIDCRemoteUserClaim email&lt;br /&gt;
OIDCScope &amp;quot;openid email&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Location /&amp;gt;&lt;br /&gt;
    AuthType openid-connect&lt;br /&gt;
    Require valid-user&lt;br /&gt;
    LogLevel debug # If you want debug messages&lt;br /&gt;
&amp;lt;/Location&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Configuring Request Tracker ===&lt;br /&gt;
In your RT_SiteConfig.pm file&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Set( $WebRemoteUserAuth, 1 );&lt;br /&gt;
Set( $WebFallbackToRTLogin, 1);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
At this point, clear your mason cache with&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo rm -rf path_to_rt/var/mason_data/obj&amp;lt;/pre&amp;gt;&lt;br /&gt;
and restart your webserver. &lt;br /&gt;
&lt;br /&gt;
Now when you visit your Request Tracker, you should immediately be prompted to login with Google — or if you&#039;re already logged in to your Google account, your Google email address will be checked against RT&#039;s user database. That means if you want RT to grant access to &amp;lt;code&amp;gt;johndoe@example.com&amp;lt;/code&amp;gt;, there must exist an RT user with the &#039;&#039;&#039;name&#039;&#039;&#039; &amp;lt;code&amp;gt;johndoe@example.com&amp;lt;/code&amp;gt;. Otherwise, RT will display a page saying that you are unauthorized and since we set &amp;lt;code&amp;gt;WebFallbackToRTLogin&amp;lt;/code&amp;gt; to 1, you will also have a link that will bring you to RT&#039;s default login page.&lt;br /&gt;
&lt;br /&gt;
==== Logout fix ====&lt;br /&gt;
If you intend to use only the basic configuration, you will need to change how the default RT menu Logout button works. By default, it will log you out of RT, but it will &#039;&#039;&#039;not&#039;&#039;&#039; log you out of your Google account. Because of that, when you logout and get redirected to the login page, the Google email address you used to sign in will be authenticated against RT&#039;s database again and you&#039;ll be logged back in — making it basically impossible to logout. &lt;br /&gt;
&lt;br /&gt;
There likely exists a certain configuration to fix this issue, but the advanced configuration provides a more flexible solution.&lt;br /&gt;
&lt;br /&gt;
== Advanced configuration ==&lt;br /&gt;
&lt;br /&gt;
Instead of Google Sign-In first and deferring to RT&#039;s login system on failure, the advanced configuration uses Google Sign-In side-by-side RT&#039;s default login system. This requires certain &amp;quot;hacky&amp;quot; adjustments to the HTML pages, additional configuration files, and some more lines in the OpenIDC Apache .conf file.&lt;br /&gt;
&lt;br /&gt;
== Work in progress ==&lt;br /&gt;
More will be added and elaborated when time permits.&lt;/div&gt;</summary>
		<author><name>Anthnd</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=OpenIDConnectWithApache&amp;diff=26430</id>
		<title>OpenIDConnectWithApache</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=OpenIDConnectWithApache&amp;diff=26430"/>
		<updated>2016-11-07T20:38:48Z</updated>

		<summary type="html">&lt;p&gt;Anthnd: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Softwares used in this guide ==&lt;br /&gt;
 - RT 4.4.1&lt;br /&gt;
 - Apache&lt;br /&gt;
 - mod_auth_openidc (an Apache module that does all the OpenIDC work)&lt;br /&gt;
 - CentOS 7&lt;br /&gt;
&lt;br /&gt;
== Installing mod_auth_openidc ==&lt;br /&gt;
You can find it on Github [https://github.com/pingidentity/mod_auth_openidc/ here].&lt;br /&gt;
&lt;br /&gt;
You can get the latest release [https://github.com/pingidentity/mod_auth_openidc/releases/latest here].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Ubuntu installation ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install libapache2-mod-auth-openidc&lt;br /&gt;
a2enmod auth_openidc&lt;br /&gt;
service apache2 restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== CentOS 7 installation ====&lt;br /&gt;
&lt;br /&gt;
Get the links for the latest centos .rpm releases of cjose and mod_auth_openidc in the link above. You may also need to find a centos .rpm for [https://pkgs.org/search/hiredis hiredis] - remember to expand the tab for the OS of your choice (CentOS 7 in this case).&lt;br /&gt;
&lt;br /&gt;
Then simply,&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
yum install https://github.com/pingidentity/mod_auth_openidc/releases/download/v2.1.0/cjose-0.4.1-1.el7.centos.x86_64.rpm&lt;br /&gt;
yum install http://dl.fedoraproject.org/pub/epel/7/x86_64/h/hiredis-0.12.1-1.el7.x86_64.rpm&lt;br /&gt;
yum install https://github.com/pingidentity/mod_auth_openidc/releases/download/v2.1.0/mod_auth_openidc-2.1.0-1.el7.centos.x86_64.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the mod_auth_openidc module should be installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Signing up with an OpenID Connect Provider ==&lt;br /&gt;
To authenticate users, your server needs to be able to talk to someone they trust to provide user identities. In this guide, we will use Google as our OpenID Connect Provider — almost everyone has a Google account. To be able to use Google&#039;s authentication services, you will need to visit their [https://console.developers.google.com Developer console].&lt;br /&gt;
&lt;br /&gt;
1. Find the Google+ API &lt;br /&gt;
2. If you click on it, there should be a little header saying you need to create a project. Click the Create Project button and proceed through the setup&lt;br /&gt;
3. You will be brought back to the Google+ API screen. On this page, press the Enable button near the top&lt;br /&gt;
4. In the left navigation pane, go to Credentials&lt;br /&gt;
5. Press the Create Credentials dropdown and select OAuth client ID&lt;br /&gt;
6. Configure the consent screen&lt;br /&gt;
7. Next, it should ask you to select an application type, pick Web application&lt;br /&gt;
8. Give your app a name and don&#039;t fill out the other blanks unless you know what they&#039;re going to be set up to already&lt;br /&gt;
9. There should be a popup telling you what your client ID and secret are — these will be needed later.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Basic setup ==&lt;br /&gt;
=== Configuring mod_auth_openidc ===&lt;br /&gt;
Now you have to piece everything together. You can read the mod_auth_openidc Documentation or Wiki pages to set everything up if you&#039;d like, but I&#039;ll be providing a step-by-step procedure as well.&lt;br /&gt;
&lt;br /&gt;
So, you&#039;re going to have to put some Apache config code somewhere to get mod_auth_openidc to start actually doing things. &lt;br /&gt;
&lt;br /&gt;
For my environment, this is the path to my .conf file:&lt;br /&gt;
&amp;lt;pre&amp;gt;/etc/httpd/conf.d/mod_auth_openidc.conf&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you don&#039;t have a conf.d folder or some other problem, you can put the Apache config code at the end of your default Apache config file. For my environment, this is the path:&lt;br /&gt;
&amp;lt;pre&amp;gt;/etc/httpd/conf/httpd.conf&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Whatever you choose to do, here are the basic settings that you will need to integrate Google&#039;s Sign-In with Request Tracker:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note: In this setup, RT is found on localhost&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# This is the link that Google uses to introduce itself and tell your server it&#039;s trustworthy&lt;br /&gt;
OIDCProviderMetadataURL https://accounts.google.com/.well-known/openid-configuration&lt;br /&gt;
&lt;br /&gt;
# The credentials you were presented in the Google Dev Console&lt;br /&gt;
OIDCClientID a1b2c3d4e5f-j8f91083j0981j02909kd408tu.apps.googleusercontent.com&lt;br /&gt;
OIDCClientSecret as98jtg981jk02k0a&lt;br /&gt;
&lt;br /&gt;
# Must match exactly with Authorized redirect URI in your Google Dev Console&lt;br /&gt;
OIDCRedirectURI http://localhost/oauth2callback&lt;br /&gt;
&lt;br /&gt;
# Set this to whatever you want&lt;br /&gt;
OIDCCryptoPassphrase anypasswordhere&lt;br /&gt;
&lt;br /&gt;
# This will set the environment variable REMOTE_USER to the user&#039;s email address instead of the default setting&lt;br /&gt;
OIDCRemoteUserClaim email&lt;br /&gt;
OIDCScope &amp;quot;openid email&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Location /&amp;gt;&lt;br /&gt;
    AuthType openid-connect&lt;br /&gt;
    Require valid-user&lt;br /&gt;
    LogLevel debug # If you want debug messages&lt;br /&gt;
&amp;lt;/Location&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Configuring Request Tracker ===&lt;br /&gt;
In your RT_SiteConfig.pm file&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Set( $WebRemoteUserAuth, 1 );&lt;br /&gt;
Set( $WebFallbackToRTLogin, 1);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
At this point, clear your mason cache with&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo rm -rf path_to_rt/var/mason_data/obj&amp;lt;/pre&amp;gt;&lt;br /&gt;
and restart your webserver. &lt;br /&gt;
&lt;br /&gt;
Now when you visit your Request Tracker, you should immediately be prompted to login with Google — or if you&#039;re already logged in to your Google account, your Google email address will be checked against RT&#039;s user database. That means if you want RT to grant access to &amp;lt;code&amp;gt;johndoe@example.com&amp;lt;/code&amp;gt;, there must exist an RT user with the &#039;&#039;&#039;name&#039;&#039;&#039; &amp;lt;code&amp;gt;johndoe@example.com&amp;lt;/code&amp;gt;. Otherwise, RT will display a page saying that you are unauthorized and since we set &amp;lt;code&amp;gt;WebFallbackToRTLogin&amp;lt;/code&amp;gt; to 1, you will also have a link that will bring you to RT&#039;s default login page.&lt;br /&gt;
&lt;br /&gt;
==== Logout fix ====&lt;br /&gt;
If you intend to use only the basic configuration, you will need to change how the default RT menu Logout button works. By default, it will log you out of RT, but it will &#039;&#039;&#039;not&#039;&#039;&#039; log you out of your Google account. Because of that, when you logout and get redirected to the login page, the Google email address you used to sign in will be authenticated against RT&#039;s database again and you&#039;ll be logged back in — making it basically impossible to logout. &lt;br /&gt;
&lt;br /&gt;
== Advanced configuration ==&lt;br /&gt;
&lt;br /&gt;
=== Optional Google Sign-In ===&lt;br /&gt;
If you&#039;d like to use Google Sign-In side-by-side RT&#039;s default login system — instead of Google Sign-In first and deferring to RT&#039;s login system on failure — you will need to add some configuration options to your .conf file and add a Google Sign-In link to RT&#039;s login page.&lt;br /&gt;
&lt;br /&gt;
== Work in progress ==&lt;br /&gt;
More will be added and elaborated when time permits.&lt;/div&gt;</summary>
		<author><name>Anthnd</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=OpenIDConnectWithApache&amp;diff=26429</id>
		<title>OpenIDConnectWithApache</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=OpenIDConnectWithApache&amp;diff=26429"/>
		<updated>2016-11-07T20:38:23Z</updated>

		<summary type="html">&lt;p&gt;Anthnd: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Softwares used in this guide ==&lt;br /&gt;
 - RT 4.4.1&lt;br /&gt;
 - Apache&lt;br /&gt;
 - mod_auth_openidc (an Apache module that does all the OpenIDC work)&lt;br /&gt;
 - CentOS 7&lt;br /&gt;
&lt;br /&gt;
== Installing mod_auth_openidc ==&lt;br /&gt;
You can find it on Github [https://github.com/pingidentity/mod_auth_openidc/ here].&lt;br /&gt;
&lt;br /&gt;
You can get the latest release [https://github.com/pingidentity/mod_auth_openidc/releases/latest here].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Ubuntu installation ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install libapache2-mod-auth-openidc&lt;br /&gt;
a2enmod auth_openidc&lt;br /&gt;
service apache2 restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== CentOS 7 installation ====&lt;br /&gt;
&lt;br /&gt;
Get the links for the latest centos .rpm releases of cjose and mod_auth_openidc in the link above. You may also need to find a centos .rpm for [https://pkgs.org/search/hiredis hiredis] - remember to expand the tab for the OS of your choice (CentOS 7 in this case).&lt;br /&gt;
&lt;br /&gt;
Then simply,&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
yum install https://github.com/pingidentity/mod_auth_openidc/releases/download/v2.1.0/cjose-0.4.1-1.el7.centos.x86_64.rpm&lt;br /&gt;
yum install http://dl.fedoraproject.org/pub/epel/7/x86_64/h/hiredis-0.12.1-1.el7.x86_64.rpm&lt;br /&gt;
yum install https://github.com/pingidentity/mod_auth_openidc/releases/download/v2.1.0/mod_auth_openidc-2.1.0-1.el7.centos.x86_64.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the mod_auth_openidc module should be installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Signing up with an OpenID Connect Provider ==&lt;br /&gt;
To authenticate users, your server needs to be able to talk to someone they trust to provide user identities. In this guide, we will use Google as our OpenID Connect Provider — almost everyone has a Google account. To be able to use Google&#039;s authentication services, you will need to visit their [https://console.developers.google.com Developer console].&lt;br /&gt;
&lt;br /&gt;
1. Find the Google+ API &lt;br /&gt;
2. If you click on it, there should be a little header saying you need to create a project. Click the Create Project button and proceed through the setup&lt;br /&gt;
3. You will be brought back to the Google+ API screen. On this page, press the Enable button near the top&lt;br /&gt;
4. In the left navigation pane, go to Credentials&lt;br /&gt;
5. Press the Create Credentials dropdown and select OAuth client ID&lt;br /&gt;
6. Configure the consent screen&lt;br /&gt;
7. Next, it should ask you to select an application type, pick Web application&lt;br /&gt;
8. Give your app a name and don&#039;t fill out the other blanks unless you know what they&#039;re going to be set up to already&lt;br /&gt;
9. There should be a popup telling you what your client ID and secret are — these will be needed later.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Basic setup ==&lt;br /&gt;
=== Configuring mod_auth_openidc ===&lt;br /&gt;
Now you have to piece everything together. You can read the mod_auth_openidc Documentation or Wiki pages to set everything up if you&#039;d like, but I&#039;ll be providing a step-by-step procedure as well.&lt;br /&gt;
&lt;br /&gt;
So, you&#039;re going to have to put some Apache config code somewhere to get mod_auth_openidc to start actually doing things. &lt;br /&gt;
&lt;br /&gt;
For my environment, this is the path to my .conf file:&lt;br /&gt;
&amp;lt;pre&amp;gt;/etc/httpd/conf.d/mod_auth_openidc.conf&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you don&#039;t have a conf.d folder or some other problem, you can put the Apache config code at the end of your default Apache config file. For my environment, this is the path:&lt;br /&gt;
&amp;lt;pre&amp;gt;/etc/httpd/conf/httpd.conf&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Whatever you choose to do, here are the basic settings that you will need to integrate Google&#039;s Sign-In with Request Tracker:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note: In this setup, RT is found on localhost&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# This is the link that Google uses to introduce itself and tell your server it&#039;s trustworthy&lt;br /&gt;
OIDCProviderMetadataURL https://accounts.google.com/.well-known/openid-configuration&lt;br /&gt;
&lt;br /&gt;
# The credentials you were presented in the Google Dev Console&lt;br /&gt;
OIDCClientID a1b2c3d4e5f-j8f91083j0981j02909kd408tu.apps.googleusercontent.com&lt;br /&gt;
OIDCClientSecret as98jtg981jk02k0a&lt;br /&gt;
&lt;br /&gt;
# Must match exactly with Authorized redirect URI in your Google Dev Console&lt;br /&gt;
OIDCRedirectURI http://localhost/oauth2callback&lt;br /&gt;
&lt;br /&gt;
# Set this to whatever you want&lt;br /&gt;
OIDCCryptoPassphrase anypasswordhere&lt;br /&gt;
&lt;br /&gt;
# This will set the environment variable REMOTE_USER to the user&#039;s email address instead of the default setting&lt;br /&gt;
OIDCRemoteUserClaim email&lt;br /&gt;
OIDCScope &amp;quot;openid email&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Location /&amp;gt;&lt;br /&gt;
    AuthType openid-connect&lt;br /&gt;
    Require valid-user&lt;br /&gt;
    LogLevel debug # If you want debug messages&lt;br /&gt;
&amp;lt;/Location&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Configuring Request Tracker ===&lt;br /&gt;
In your RT_SiteConfig.pm file&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Set( $WebRemoteUserAuth, 1 );&lt;br /&gt;
Set( $WebFallbackToRTLogin, 1);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
At this point, clear your mason cache with&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo rm -rf path_to_rt/var/mason_data/obj&amp;lt;/pre&amp;gt;&lt;br /&gt;
and restart your webserver. &lt;br /&gt;
&lt;br /&gt;
Now when you visit your Request Tracker, you should immediately be prompted to login with Google — or if you&#039;re already logged in to your Google account, your Google email address will be checked against RT&#039;s user database. That means if you want RT to grant access to &amp;lt;code&amp;gt;johndoe@example.com&amp;lt;/code&amp;gt;, there must exist an RT user with the &#039;&#039;&#039;name&#039;&#039;&#039; &amp;lt;code&amp;gt;johndoe@example.com&amp;lt;/code&amp;gt;. Otherwise, RT will display a page saying that you are unauthorized and since we set &amp;lt;code&amp;gt;WebFallbackToRTLogin&amp;lt;/code&amp;gt; to 1, you will also have a link that will bring you to RT&#039;s default login page.&lt;br /&gt;
&lt;br /&gt;
==== Logout fix ====&lt;br /&gt;
If you intend to use only the basic configuration, you will need to change how the default RT menu Logout button works. By default, it will log you out of RT, but it will &#039;&#039;&#039;not&#039;&#039;&#039; log you out of your Google account. Because of that, when you logout and get redirected to the login page, the Google email address you used to sign in will be authenticated against RT&#039;s database again and you&#039;ll be logged back in — making it basically impossible to logout. &lt;br /&gt;
&lt;br /&gt;
== Advanced configuration ==&lt;br /&gt;
&lt;br /&gt;
=== Optional Google Sign-In ===&lt;br /&gt;
If you&#039;d like to use Google Sign-In side-by-side RT&#039;s default login system — instead of Google Sign-In first and deferring to RT&#039;s login system on failure — you will need to add some configuration options to your .conf file and add a Google Sign-In link to RT&#039;s login page.&lt;br /&gt;
&lt;br /&gt;
== Work in progress ==&lt;br /&gt;
I&#039;m going to add more after the weekend.&lt;/div&gt;</summary>
		<author><name>Anthnd</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=OpenIDConnectWithApache&amp;diff=26428</id>
		<title>OpenIDConnectWithApache</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=OpenIDConnectWithApache&amp;diff=26428"/>
		<updated>2016-11-07T16:37:53Z</updated>

		<summary type="html">&lt;p&gt;Anthnd: /* Configuring Request Tracker */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Softwares used in this guide ==&lt;br /&gt;
 - RT 4.4.1&lt;br /&gt;
 - Apache&lt;br /&gt;
 - mod_auth_openidc (an Apache module that does all the OpenIDC work)&lt;br /&gt;
 - CentOS 7&lt;br /&gt;
&lt;br /&gt;
== Install and enable mod_auth_openidc ==&lt;br /&gt;
You can find it on Github [https://github.com/pingidentity/mod_auth_openidc/ here].&lt;br /&gt;
&lt;br /&gt;
You can get the latest release [https://github.com/pingidentity/mod_auth_openidc/releases/latest here].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For Ubuntu:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install libapache2-mod-auth-openidc&lt;br /&gt;
a2enmod auth_openidc&lt;br /&gt;
service apache2 restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For CentOS 7:&lt;br /&gt;
&lt;br /&gt;
Get the links for the latest centos .rpm releases of cjose and mod_auth_openidc in the link above. You may also need to find a centos .rpm for [https://pkgs.org/search/hiredis hiredis] - remember to expand the tab for the OS of your choice (CentOS 7 in this case).&lt;br /&gt;
&lt;br /&gt;
Then simply,&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
yum install https://github.com/pingidentity/mod_auth_openidc/releases/download/v2.1.0/cjose-0.4.1-1.el7.centos.x86_64.rpm&lt;br /&gt;
yum install http://dl.fedoraproject.org/pub/epel/7/x86_64/h/hiredis-0.12.1-1.el7.x86_64.rpm&lt;br /&gt;
yum install https://github.com/pingidentity/mod_auth_openidc/releases/download/v2.1.0/mod_auth_openidc-2.1.0-1.el7.centos.x86_64.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the mod_auth_openidc module should be installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Signing up with an OpenID Connect Provider ==&lt;br /&gt;
To authenticate users, your server needs to be able to talk to someone they trust to provide user identities. In this guide, we will use Google as our OpenID Connect Provider — almost everyone has a Google account. To be able to use Google&#039;s authentication services, you will need to visit their [https://console.developers.google.com Developer console].&lt;br /&gt;
&lt;br /&gt;
1. Find the Google+ API &lt;br /&gt;
2. If you click on it, there should be a little header saying you need to create a project. Click the Create Project button and proceed through the setup&lt;br /&gt;
3. You will be brought back to the Google+ API screen. On this page, press the Enable button near the top&lt;br /&gt;
4. In the left navigation pane, go to Credentials&lt;br /&gt;
5. Press the Create Credentials dropdown and select OAuth client ID&lt;br /&gt;
6. Configure the consent screen&lt;br /&gt;
7. Next, it should ask you to select an application type, pick Web application&lt;br /&gt;
8. Give your app a name and don&#039;t fill out the other blanks unless you know what they&#039;re going to be set up to already&lt;br /&gt;
9. There should be a popup telling you what your client ID and secret are — these will be needed later.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Configuring mod_auth_openidc ==&lt;br /&gt;
Now you have to piece everything together. You can read the mod_auth_openidc Documentation or Wiki pages to set everything up if you&#039;d like, but I&#039;ll be providing a step-by-step procedure as well.&lt;br /&gt;
&lt;br /&gt;
So, you&#039;re going to have to put some Apache config code somewhere to get mod_auth_openidc to start actually doing things. &lt;br /&gt;
&lt;br /&gt;
For my environment, this is the path to my .conf file:&lt;br /&gt;
&amp;lt;pre&amp;gt;/etc/httpd/conf.d/mod_auth_openidc.conf&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you don&#039;t have a conf.d folder or some other problem, you can put the Apache config code at the end of your default Apache config file. For my environment, this is the path:&lt;br /&gt;
&amp;lt;pre&amp;gt;/etc/httpd/conf/httpd.conf&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Whatever you choose to do, here are the basic settings that you will need to integrate Google&#039;s Sign in with Request Tracker:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note: In this setup, RT is found on localhost&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# This is the link that Google uses to introduce itself and tell your server it&#039;s trustworthy&lt;br /&gt;
OIDCProviderMetadataURL https://accounts.google.com/.well-known/openid-configuration&lt;br /&gt;
&lt;br /&gt;
# The credentials you were presented in the Google Dev Console&lt;br /&gt;
OIDCClientID a1b2c3d4e5f-j8f91083j0981j02909kd408tu.apps.googleusercontent.com&lt;br /&gt;
OIDCClientSecret as98jtg981jk02k0a&lt;br /&gt;
&lt;br /&gt;
# Must match exactly with Authorized redirect URI in your Google Dev Console&lt;br /&gt;
OIDCRedirectURI http://localhost/oauth2callback&lt;br /&gt;
&lt;br /&gt;
# Set this to whatever you want&lt;br /&gt;
OIDCCryptoPassphrase anypasswordhere&lt;br /&gt;
&lt;br /&gt;
# This will set the environment variable REMOTE_USER to the user&#039;s email address instead of the default setting&lt;br /&gt;
OIDCRemoteUserClaim email&lt;br /&gt;
OIDCScope &amp;quot;openid email&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Location /&amp;gt;&lt;br /&gt;
    AuthType openid-connect&lt;br /&gt;
    Require valid-user&lt;br /&gt;
    LogLevel debug # If you want debug messages&lt;br /&gt;
&amp;lt;/Location&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configuring Request Tracker ==&lt;br /&gt;
In your RT_SiteConfig.pm file&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Set( $WebRemoteUserAuth, 1 );&lt;br /&gt;
Set( $WebFallbackToRTLogin, 1);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Work in progress ==&lt;br /&gt;
I&#039;m going to add more after the weekend.&lt;/div&gt;</summary>
		<author><name>Anthnd</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CustomActionQchange&amp;diff=26427</id>
		<title>CustomActionQchange</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CustomActionQchange&amp;diff=26427"/>
		<updated>2016-11-04T20:03:17Z</updated>

		<summary type="html">&lt;p&gt;Anthnd: /* Code */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Below is a custom action module for adding RT::Action:Qchange via crontool that can be called for via a query similar to this &amp;quot;--action RT::Action::QChange --action-arg YOURNEWQUEUE --template &#039;blank&#039;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Example &amp;lt;code&amp;gt; rt-crontool --transaction last --search RT::Search::FromSQL --search-arg &amp;quot;Queue = &#039;SLA’ AND (Status=&#039;new&#039; OR Status=&#039;open&#039;)&amp;quot; --condition RT::Condition::Overdue --action RT::Action::QChange --action-arg QUEUE --template &#039;SLA-escalation&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Create the file in a place where RT can call it (notice not to put it at a place that will be overwritten at an RT upgrade, ex /opt/rt4/lib/RT/Action/Qchange.pm&lt;br /&gt;
&lt;br /&gt;
This script was created by Andy Smith.&lt;br /&gt;
&lt;br /&gt;
Running on RT version 4.4.1&lt;br /&gt;
&lt;br /&gt;
== Code ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# BEGIN BPS TAGGED BLOCK {{{&lt;br /&gt;
#&lt;br /&gt;
# COPYRIGHT:&lt;br /&gt;
#&lt;br /&gt;
# This software is Copyright (c) 1996-2015 Best Practical Solutions, LLC&lt;br /&gt;
#                                          &amp;lt;sales@bestpractical.com&amp;gt;&lt;br /&gt;
#&lt;br /&gt;
# (Except where explicitly superseded by other copyright notices)&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
# LICENSE:&lt;br /&gt;
#&lt;br /&gt;
# This work is made available to you under the terms of Version 2 of&lt;br /&gt;
# the GNU General Public License. A copy of that license should have&lt;br /&gt;
# been provided with this software, but in any event can be snarfed&lt;br /&gt;
# from www.gnu.org.&lt;br /&gt;
#&lt;br /&gt;
# This work is distributed in the hope that it will be useful, but&lt;br /&gt;
# WITHOUT ANY WARRANTY; without even the implied warranty of&lt;br /&gt;
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU&lt;br /&gt;
# General Public License for more details.&lt;br /&gt;
#&lt;br /&gt;
# You should have received a copy of the GNU General Public License&lt;br /&gt;
# along with this program; if not, write to the Free Software&lt;br /&gt;
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA&lt;br /&gt;
# 02110-1301 or visit their web page on the internet at&lt;br /&gt;
# &amp;lt;nowiki&amp;gt;http://www.gnu.org/licenses/old-licenses/gpl-2.0.html&amp;lt;/nowiki&amp;gt;.&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
# CONTRIBUTION SUBMISSION POLICY:&lt;br /&gt;
#&lt;br /&gt;
# (The following paragraph is not intended to limit the rights granted&lt;br /&gt;
# to you to modify and distribute this software under the terms of&lt;br /&gt;
# the GNU General Public License and is only of importance to you if&lt;br /&gt;
# you choose to contribute your changes and enhancements to the&lt;br /&gt;
# community by submitting them to Best Practical Solutions, LLC.)&lt;br /&gt;
#&lt;br /&gt;
# By intentionally submitting any modifications, corrections or&lt;br /&gt;
# derivatives to this work, or any other work intended for use with&lt;br /&gt;
# Request Tracker, to Best Practical Solutions, LLC, you confirm that&lt;br /&gt;
# you are the copyright holder for those contributions and you grant&lt;br /&gt;
# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,&lt;br /&gt;
# royalty-free, perpetual, license to use, copy, create derivative&lt;br /&gt;
# works based on those contributions, and sublicense and distribute&lt;br /&gt;
# those contributions and any derivatives thereof.&lt;br /&gt;
#&lt;br /&gt;
# END BPS TAGGED BLOCK }}}&lt;br /&gt;
&lt;br /&gt;
package RT::Action::QChange;&lt;br /&gt;
&lt;br /&gt;
use strict;&lt;br /&gt;
use warnings;&lt;br /&gt;
&lt;br /&gt;
use base qw(RT::Action::Notify);&lt;br /&gt;
&lt;br /&gt;
use Email::Address;&lt;br /&gt;
&lt;br /&gt;
=head1 Notify Owner or AdminCc&lt;br /&gt;
&lt;br /&gt;
If the owner of this ticket is Nobody, notify the AdminCcs.  Otherwise, only notify the Owner.&lt;br /&gt;
&lt;br /&gt;
=cut&lt;br /&gt;
&lt;br /&gt;
sub Prepare {&lt;br /&gt;
    my $self = shift;&lt;br /&gt;
    return 1;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
my $self;&lt;br /&gt;
&lt;br /&gt;
sub Commit {&lt;br /&gt;
    my $self = shift;&lt;br /&gt;
    my $argument = $self-&amp;gt;Argument;&lt;br /&gt;
    unless ( $argument ) {&lt;br /&gt;
	RT::Logger-&amp;gt;error(&amp;quot;Argument is mandatory for Test action&amp;quot;);&lt;br /&gt;
	return 0;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    my ($status, $msg) = $self-&amp;gt;TicketObj-&amp;gt;SetQueue(&amp;quot;$argument&amp;quot;);&lt;br /&gt;
    if ( not $status ) {&lt;br /&gt;
       RT::Logger-&amp;gt;error(&amp;quot;Could not reassign queue: $msg&amp;quot;);&lt;br /&gt;
       return 0;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    RT::Base-&amp;gt;_ImportOverlays();&lt;br /&gt;
&lt;br /&gt;
    return 1;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
1;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Anthnd</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=OpenIDConnectWithApache&amp;diff=26426</id>
		<title>OpenIDConnectWithApache</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=OpenIDConnectWithApache&amp;diff=26426"/>
		<updated>2016-11-04T19:38:22Z</updated>

		<summary type="html">&lt;p&gt;Anthnd: /* Configuring mod_auth_openidc */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Softwares used in this guide ==&lt;br /&gt;
 - RT 4.4.1&lt;br /&gt;
 - Apache&lt;br /&gt;
 - mod_auth_openidc (an Apache module that does all the OpenIDC work)&lt;br /&gt;
 - CentOS 7&lt;br /&gt;
&lt;br /&gt;
== Install and enable mod_auth_openidc ==&lt;br /&gt;
You can find it on Github [https://github.com/pingidentity/mod_auth_openidc/ here].&lt;br /&gt;
&lt;br /&gt;
You can get the latest release [https://github.com/pingidentity/mod_auth_openidc/releases/latest here].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For Ubuntu:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install libapache2-mod-auth-openidc&lt;br /&gt;
a2enmod auth_openidc&lt;br /&gt;
service apache2 restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For CentOS 7:&lt;br /&gt;
&lt;br /&gt;
Get the links for the latest centos .rpm releases of cjose and mod_auth_openidc in the link above. You may also need to find a centos .rpm for [https://pkgs.org/search/hiredis hiredis] - remember to expand the tab for the OS of your choice (CentOS 7 in this case).&lt;br /&gt;
&lt;br /&gt;
Then simply,&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
yum install https://github.com/pingidentity/mod_auth_openidc/releases/download/v2.1.0/cjose-0.4.1-1.el7.centos.x86_64.rpm&lt;br /&gt;
yum install http://dl.fedoraproject.org/pub/epel/7/x86_64/h/hiredis-0.12.1-1.el7.x86_64.rpm&lt;br /&gt;
yum install https://github.com/pingidentity/mod_auth_openidc/releases/download/v2.1.0/mod_auth_openidc-2.1.0-1.el7.centos.x86_64.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the mod_auth_openidc module should be installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Signing up with an OpenID Connect Provider ==&lt;br /&gt;
To authenticate users, your server needs to be able to talk to someone they trust to provide user identities. In this guide, we will use Google as our OpenID Connect Provider — almost everyone has a Google account. To be able to use Google&#039;s authentication services, you will need to visit their [https://console.developers.google.com Developer console].&lt;br /&gt;
&lt;br /&gt;
1. Find the Google+ API &lt;br /&gt;
2. If you click on it, there should be a little header saying you need to create a project. Click the Create Project button and proceed through the setup&lt;br /&gt;
3. You will be brought back to the Google+ API screen. On this page, press the Enable button near the top&lt;br /&gt;
4. In the left navigation pane, go to Credentials&lt;br /&gt;
5. Press the Create Credentials dropdown and select OAuth client ID&lt;br /&gt;
6. Configure the consent screen&lt;br /&gt;
7. Next, it should ask you to select an application type, pick Web application&lt;br /&gt;
8. Give your app a name and don&#039;t fill out the other blanks unless you know what they&#039;re going to be set up to already&lt;br /&gt;
9. There should be a popup telling you what your client ID and secret are — these will be needed later.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Configuring mod_auth_openidc ==&lt;br /&gt;
Now you have to piece everything together. You can read the mod_auth_openidc Documentation or Wiki pages to set everything up if you&#039;d like, but I&#039;ll be providing a step-by-step procedure as well.&lt;br /&gt;
&lt;br /&gt;
So, you&#039;re going to have to put some Apache config code somewhere to get mod_auth_openidc to start actually doing things. &lt;br /&gt;
&lt;br /&gt;
For my environment, this is the path to my .conf file:&lt;br /&gt;
&amp;lt;pre&amp;gt;/etc/httpd/conf.d/mod_auth_openidc.conf&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you don&#039;t have a conf.d folder or some other problem, you can put the Apache config code at the end of your default Apache config file. For my environment, this is the path:&lt;br /&gt;
&amp;lt;pre&amp;gt;/etc/httpd/conf/httpd.conf&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Whatever you choose to do, here are the basic settings that you will need to integrate Google&#039;s Sign in with Request Tracker:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note: In this setup, RT is found on localhost&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# This is the link that Google uses to introduce itself and tell your server it&#039;s trustworthy&lt;br /&gt;
OIDCProviderMetadataURL https://accounts.google.com/.well-known/openid-configuration&lt;br /&gt;
&lt;br /&gt;
# The credentials you were presented in the Google Dev Console&lt;br /&gt;
OIDCClientID a1b2c3d4e5f-j8f91083j0981j02909kd408tu.apps.googleusercontent.com&lt;br /&gt;
OIDCClientSecret as98jtg981jk02k0a&lt;br /&gt;
&lt;br /&gt;
# Must match exactly with Authorized redirect URI in your Google Dev Console&lt;br /&gt;
OIDCRedirectURI http://localhost/oauth2callback&lt;br /&gt;
&lt;br /&gt;
# Set this to whatever you want&lt;br /&gt;
OIDCCryptoPassphrase anypasswordhere&lt;br /&gt;
&lt;br /&gt;
# This will set the environment variable REMOTE_USER to the user&#039;s email address instead of the default setting&lt;br /&gt;
OIDCRemoteUserClaim email&lt;br /&gt;
OIDCScope &amp;quot;openid email&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Location /&amp;gt;&lt;br /&gt;
    AuthType openid-connect&lt;br /&gt;
    Require valid-user&lt;br /&gt;
    LogLevel debug # If you want debug messages&lt;br /&gt;
&amp;lt;/Location&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configuring Request Tracker ==&lt;br /&gt;
In your RT_SiteConfig.pm file&lt;br /&gt;
&amp;lt;pre&amp;gt;Set( $WebRemoteUserAuth, 1 );&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Work in progress ==&lt;br /&gt;
I&#039;m going to add more after the weekend.&lt;/div&gt;</summary>
		<author><name>Anthnd</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=OpenIDConnectWithApache&amp;diff=26425</id>
		<title>OpenIDConnectWithApache</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=OpenIDConnectWithApache&amp;diff=26425"/>
		<updated>2016-11-04T19:34:33Z</updated>

		<summary type="html">&lt;p&gt;Anthnd: A guide on implementing OpenID Connect into Request Tracker&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Softwares used in this guide ==&lt;br /&gt;
 - RT 4.4.1&lt;br /&gt;
 - Apache&lt;br /&gt;
 - mod_auth_openidc (an Apache module that does all the OpenIDC work)&lt;br /&gt;
 - CentOS 7&lt;br /&gt;
&lt;br /&gt;
== Install and enable mod_auth_openidc ==&lt;br /&gt;
You can find it on Github [https://github.com/pingidentity/mod_auth_openidc/ here].&lt;br /&gt;
&lt;br /&gt;
You can get the latest release [https://github.com/pingidentity/mod_auth_openidc/releases/latest here].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For Ubuntu:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install libapache2-mod-auth-openidc&lt;br /&gt;
a2enmod auth_openidc&lt;br /&gt;
service apache2 restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For CentOS 7:&lt;br /&gt;
&lt;br /&gt;
Get the links for the latest centos .rpm releases of cjose and mod_auth_openidc in the link above. You may also need to find a centos .rpm for [https://pkgs.org/search/hiredis hiredis] - remember to expand the tab for the OS of your choice (CentOS 7 in this case).&lt;br /&gt;
&lt;br /&gt;
Then simply,&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
yum install https://github.com/pingidentity/mod_auth_openidc/releases/download/v2.1.0/cjose-0.4.1-1.el7.centos.x86_64.rpm&lt;br /&gt;
yum install http://dl.fedoraproject.org/pub/epel/7/x86_64/h/hiredis-0.12.1-1.el7.x86_64.rpm&lt;br /&gt;
yum install https://github.com/pingidentity/mod_auth_openidc/releases/download/v2.1.0/mod_auth_openidc-2.1.0-1.el7.centos.x86_64.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the mod_auth_openidc module should be installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Signing up with an OpenID Connect Provider ==&lt;br /&gt;
To authenticate users, your server needs to be able to talk to someone they trust to provide user identities. In this guide, we will use Google as our OpenID Connect Provider — almost everyone has a Google account. To be able to use Google&#039;s authentication services, you will need to visit their [https://console.developers.google.com Developer console].&lt;br /&gt;
&lt;br /&gt;
1. Find the Google+ API &lt;br /&gt;
2. If you click on it, there should be a little header saying you need to create a project. Click the Create Project button and proceed through the setup&lt;br /&gt;
3. You will be brought back to the Google+ API screen. On this page, press the Enable button near the top&lt;br /&gt;
4. In the left navigation pane, go to Credentials&lt;br /&gt;
5. Press the Create Credentials dropdown and select OAuth client ID&lt;br /&gt;
6. Configure the consent screen&lt;br /&gt;
7. Next, it should ask you to select an application type, pick Web application&lt;br /&gt;
8. Give your app a name and don&#039;t fill out the other blanks unless you know what they&#039;re going to be set up to already&lt;br /&gt;
9. There should be a popup telling you what your client ID and secret are — these will be needed later.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Configuring mod_auth_openidc ==&lt;br /&gt;
Now you have to piece everything together. You can read the mod_auth_openidc Documentation or Wiki pages to set everything up if you&#039;d like, but I&#039;ll be providing a step-by-step procedure as well.&lt;br /&gt;
&lt;br /&gt;
So, you&#039;re going to have to put some Apache config code somewhere to get mod_auth_openidc to start actually doing things. &lt;br /&gt;
&lt;br /&gt;
For my environment, this is the path to my .conf file:&lt;br /&gt;
&amp;lt;pre&amp;gt;/etc/httpd/conf.d/mod_auth_openidc.conf&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you don&#039;t have a conf.d folder or some other problem, you can put the Apache config code at the end of your default Apache config file. For my environment, this is the path:&lt;br /&gt;
&amp;lt;pre&amp;gt;/etc/httpd/conf/httpd.conf&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Whatever you choose to do, here are the basic settings that you will need to integrate Google&#039;s Sign in with Request Tracker:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# This is the link that Google uses to introduce itself and tell your server it&#039;s trustworthy&lt;br /&gt;
OIDCProviderMetadataURL https://accounts.google.com/.well-known/openid-configuration&lt;br /&gt;
&lt;br /&gt;
# The credentials you were presented in the Google Dev Console&lt;br /&gt;
OIDCClientID a1b2c3d4e5f-j8f91083j0981j02909kd408tu.apps.googleusercontent.com&lt;br /&gt;
OIDCClientSecret as98jtg981jk02k0a&lt;br /&gt;
&lt;br /&gt;
# Must match exactly with Authorized redirect URI in your Google Dev Console&lt;br /&gt;
OIDCRedirectURI http://localhost/oauth2callback&lt;br /&gt;
&lt;br /&gt;
# Set this to whatever you want&lt;br /&gt;
OIDCCryptoPassphrase anypasswordhere&lt;br /&gt;
&lt;br /&gt;
# This will set the environment variable REMOTE_USER to the user&#039;s email address instead of the default setting&lt;br /&gt;
OIDCRemoteUserClaim email&lt;br /&gt;
OIDCScope &amp;quot;openid email&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Location /&amp;gt;&lt;br /&gt;
    AuthType openid-connect&lt;br /&gt;
    Require valid-user&lt;br /&gt;
    LogLevel debug # If you want debug messages&lt;br /&gt;
&amp;lt;/Location&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Configuring Request Tracker ==&lt;br /&gt;
In your RT_SiteConfig.pm file&lt;br /&gt;
&amp;lt;pre&amp;gt;Set( $WebRemoteUserAuth, 1 );&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Work in progress ==&lt;br /&gt;
I&#039;m going to add more after the weekend.&lt;/div&gt;</summary>
		<author><name>Anthnd</name></author>
	</entry>
</feed>