File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
ansible_ai_connect/main/settings Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -275,6 +275,7 @@ def is_ssl_enabled(value: str) -> bool:
275
275
"DEFAULT_AUTHENTICATION_CLASSES" : [
276
276
"oauth2_provider.contrib.rest_framework.OAuth2Authentication" ,
277
277
"rest_framework.authentication.SessionAuthentication" ,
278
+ "ansible_ai_connect.users.auth.RHSSOAuthentication" ,
278
279
"ansible_ai_connect.users.authentication.LightspeedJWTAuthentication" ,
279
280
],
280
281
"DEFAULT_PERMISSION_CLASSES" : ["rest_framework.permissions.IsAuthenticated" ],
@@ -325,12 +326,6 @@ def is_ssl_enabled(value: str) -> bool:
325
326
RESOURCE_SERVER__VALIDATE_HTTPS = os .getenv ("RESOURCE_SERVER__VALIDATE_HTTPS" )
326
327
# ==========================================
327
328
328
- # Current RHSSOAuthentication implementation is incompatible with tech preview terms partial
329
- if not ANSIBLE_AI_ENABLE_TECH_PREVIEW :
330
- REST_FRAMEWORK ["DEFAULT_AUTHENTICATION_CLASSES" ].insert (
331
- - 1 , "ansible_ai_connect.users.auth.RHSSOAuthentication"
332
- )
333
-
334
329
ROOT_URLCONF = "ansible_ai_connect.main.urls"
335
330
336
331
LOGGING = {
You can’t perform that action at this time.
0 commit comments