Skip to main content
jbailey
18-Opal
November 21, 2024
Solved

Windchill OIDC

  • November 21, 2024
  • 3 replies
  • 2700 views

Is anyone using /  testing OIDC on Windchill 13.0.2.x yet? Followed the instructions, but Apache fails to load auth_openidc_module.

 

Kind of stumped here, when manually running httpd.exe, I get: Cannot load modules/mod_auth_openidc.so into server: The specified module could not be found.

 

Server root is proper, permissions look good, and the license file for auth_openidc_module is in the proper location. (only CS reference on PTC for OIDC/Windchill)

 

Jim

 

 

Best answer by jbailey

So it turned out the issue was related to a corrupted module file (mod_auth_openidc). Copied form another installation and it worked fine.

3 replies

Catalina
Community Moderator
November 21, 2024

Hi @jbailey 

 

Thank you for your question! 

 

I’d like to recommend to bring more details and context to your initial inquiry. 

Please consider adding screenshot(s) to better understand what you are trying to do in your process. 

 

Please refer to this guideline to make your questions more likely to receive a quick and useful answer. 

This will increase your chances to receive meaningful help from other Community members. 

 

Thank you for your participation and please let me know if you need further assistance! 

 

Best regards,

Catalina | PTC Community Moderator
jbailey
jbailey18-OpalAuthor
18-Opal
December 14, 2024

Still not solved

10-Marble
November 21, 2024

Hi @jbailey ,

 

the error message is very clear about missing the mod_auth_openidc module.
Which operating system are you using?

Which installation for the mod_auth_openidc module did you use?

Did you copy the mod_auth_openidc module into the modules subdirectory of the PTC supplied Apache?

 

Michael

 

jbailey
jbailey18-OpalAuthor
18-Opal
November 21, 2024

Oh the message is clear, however everything is where it should be. In Windchill 13.0.2.0 mod_auth_openidc is provided by PTC and in the modules folder, with the commercial license in the conf folder. Everything is being setup/deployed as described in the PTC support center for 13.0.2

 

This is a Windows implementation.

10-Marble
November 21, 2024

Sorry, I was not aware of the PTC provided OIDC support in Windchill 13.0.2 as we are still on 12.
I did all the OIDC installations manually and on Linux.

Anyhow, there has to be a reason why the module cannot be loaded. As far as the PTC documentation shows on the Linux platform the module itself is loaded indirect via the LD_LIBRARY_PATH environment variable and not the direct path to the file. So maybe this helps for further investigations.

 

 

jbailey
jbailey18-OpalAuthorAnswer
18-Opal
December 19, 2024

So it turned out the issue was related to a corrupted module file (mod_auth_openidc). Copied form another installation and it worked fine.

jbailey
jbailey18-OpalAuthor
18-Opal
February 4, 2025

Update: This issue reappeared with the latest WC 13.0.2 CPS, and it seemed like the module file that was modified in October and delivered was in fact corrupted. I was finally able to get PTC to reproduce the issue, and then R&D was also able to reproduce. If you use the module file from the previous prior to the 13.0.2.2 CPS, that is a quick fix (use this advice at your own risk)

Ref:  https://www.ptc.com/en/support/article/CS433585

avillanueva
23-Emerald I
23-Emerald I
February 4, 2025

CPS is dead. Long live CPS!