[Bps-public-commit] rt-authen-oauth2 branch add-okta-config-example created. 0.11-2-g9bffdd7

BPS Git Server git at git.bestpractical.com
Wed Feb 22 18:43:34 UTC 2023


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "rt-authen-oauth2".

The branch, add-okta-config-example has been created
        at  9bffdd77627f36a3c4ce18a50c430bbec5d4159f (commit)

- Log -----------------------------------------------------------------
commit 9bffdd77627f36a3c4ce18a50c430bbec5d4159f
Author: Brad Embree <brad at bestpractical.com>
Date:   Wed Feb 22 10:43:19 2023 -0800

    Add Okta config example

diff --git a/etc/OAuth2_Config.pm b/etc/OAuth2_Config.pm
index 3a55a50..67f3ac2 100644
--- a/etc/OAuth2_Config.pm
+++ b/etc/OAuth2_Config.pm
@@ -247,5 +247,19 @@ Set(%OAuthIDPs,
         'client_secret' => '',
         'state' => '',
     },
+    'okta' => {
+        'MetadataHandler' => 'RT::Authen::OAuth2::Google',
+        'MetadataMap' => {
+            'EmailAddress' => 'email',
+        },
+        'access_token_path' => '/oauth2/v1/token',
+        'site' => 'https://$YOUR_OKTA.okta.com',
+        'scope' => 'openid profile email',
+        'authorize_path' => '/oauth2/v1/authorize',
+        'authorize_method' => 'GET',
+        'state' => '',
+        'protected_resource_path' => '/oauth2/v1/userinfo',
+        'protected_resource_method' => 'GET',
+    },
 );
 

-----------------------------------------------------------------------


hooks/post-receive
-- 
rt-authen-oauth2


More information about the Bps-public-commit mailing list