Closed sm97 closed 3 years ago
catalina.out: https://gist.github.com/sm97/d21f0ad51c0e58c08598a11b799c2d98
Hi! Usually it means some troubles with JS. Would you please check if JS console in browser shows some errors?
My Teamcity installation uses /teamcity context (Server URL: https://example.com/teamcity/) while your plugin does not use it.
<!-- START EXTENSION CONTENT jetbrains.buildServer.auth.saml.plugin.SamlSettingsAdminPage: name:SAML Authentication: /plugins/saml-authentication/SamlPluginAdminPage.jsp -->
<div id=app></div>
<script src="/plugins/saml-authentication/admin-ui/js/app.js"></script>
<!-- END EXTENSION CONTENT jetbrains.buildServer.auth.saml.plugin.SamlSettingsAdminPage -->
Ok, confirm. Internally the plugin is getting the path using TC-provided SDK and it seems that the SDK method doesn't honor custom context. Will check for possible workaround.
Fixed.
@morincer Thanks alot. Unfortunatly I cannot rebuild updated version of this plugin. It fails while installing npm dependencies :( Could you please make a build for me?
Sure, grab release https://github.com/morincer/teamcity-plugin-saml/releases/tag/1.2.2
@morincer Thanks again. I got it and SAML configuration page is not empty now. Though not all links are still functioning. For example, SP Metadata XML link goes to /app/saml/metadata.xml that cannot be found by tomcat :( Also clicking SSO login button redirects to /app/saml/login/ without prefix.
Ok, I'll check it
Ok, give then new version (1.3) a try.
@morincer We are getting to finish line :)
Now Teamcity redirects to / after successful SAML authentication.
@morincer Could you please build this version to test?
Fixed in 1.3.1
Good job. Thank you! It works like a charm :)