Skip to main content
1月 29, 2024 1:13 午前 UTC
解決済み

AEM OKTA : Okta login page where a spinner appears indefinitely

Hi Everyone,

In the context of the AEM (Adobe Experience Manager) integration with Okta, if you are encountering a situation where the OKTA login page displays an endless spinner, I would appreciate any insights or suggestions you may have based on your prior experience with similar errors. Please share your thoughts and ideas on how to address this issue effectively.

 

 

このトピックへの返信は締め切られました。
Sudheer_Sundalam
Community Advisor
1月 29, 2024 8:46 午後 UTC

@sateesh583 ,

Try configuring the CORS Policy OSGI configuration on the server where the OKTA authentication is happening.
https://experienceleague.adobe.com/docs/experience-manager-learn/foundation/security/understand-cross-origin-resource-sharing.html?lang=en

 

Allowed Origin value should be your OKTA IDP domain name.

 

 

4 の返信

Sudheer_Sundalam
Community Advisor
Community Advisor
1月 29, 2024 8:46 午後 UTC

@sateesh583 ,

Try configuring the CORS Policy OSGI configuration on the server where the OKTA authentication is happening.
https://experienceleague.adobe.com/docs/experience-manager-learn/foundation/security/understand-cross-origin-resource-sharing.html?lang=en

 

Allowed Origin value should be your OKTA IDP domain name.

 

 

翻訳
kautuk_sahni
Level 9
1月 30, 2024 2:05 午後 UTC

@sateesh583 Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

翻訳
Kautuk Sahni
2月 11, 2024 4:05 午後 UTC

Thank you for your all inputs @kautuk_sahni  @sudheer_sundalam @arunpatidar . 

 

The issue resides with the CORS configuration after adding the below configuration the OKTA infinite spinner is resolved. 

 

Config:  com.adobe.granite.cors.impl.CORSPolicyImpl~wknd.cfg.json

{
"alloworigin": ["null","https://dev-92XXXXX-admin.okta.com"],
"allowedpaths": [
".*/content/wknd/us/en/saml_login"
],
"supportedheaders": [
"Authorization",
"Origin",
"Accept",
"X-Requested-With",
"Content-Type",
"Access-Control-Request-Method",
"Access-Control-Request-Headers"
],
"alloworiginregexp": [],
"supportedmethods": [
"POST"
]
}
 
Among all these main property is "Authorization" for this spinner issue. 
 
Thank you all ...
Sateesh Anasani.
翻訳