Adding OpenId provider
How can I add openid provider? I've read this doc http://confluence.jetbrains.net/display/YTD3/OpenID+Integration but can not get what is [TSYS:YouTrack classpath]
YT is installed according to this guide http://confluence.jetbrains.net/display/YTD3/Linux.+YouTrack+JAR+as+a+Service
I've searched the dir where YT is installed and the only openIdProvidersConfiguration.xml is :
/home/youtrack/.youtrack/work/jetty-0.0.0.0-8082-youtrack-3.0.4.jar--any-/webapp/WEB-INF/classes/jetbrains/charisma/openid/persistence/openIdProvidersConfiguration.xml
which is rewritten on each youtrack restart (guess from youtrack-3.0.4.jar file)
Sorry for the dummy question - I'm working with.NET and not with java
Please sign in to leave a comment.
Hello Konstantin,
In your case you need to add OpenID provider description right within the jar archive: youtrack-<version>.jar\WEB-INF\classes\jetbrains\charisma\openid\persistence\OpenIdProvidersContainer.xml
You can unzip the jar file, make your corrections, and then zip the jar file back.
Hope this will help
Best regards,
Ekaterina
Thanks for your answer
I hoped there is some more clear way...
With this approach I'll have to update xml inside jar on each YT version upgrade :-(
BTW as you are the author of http://confluence.jetbrains.net/display/YTD3/Linux.+YouTrack+JAR+as+a+Service guide
The is a discrepancy - setup has to be performed as youtrack user or there should be extra step to grant youtrack user access to files in "standalone" folder
Also on ubuntu server 11.10 64bit I had to add "#!/bin/bash" as first line of /etc/init.d/youtrack to make it work
Hello Konstantin
Thanks for your notice! I will correct the doc accordingly.
As for the current approach of adding OpenID provider, I understand it might require additional steps while upgrading YouTrack.
Please feel free to submit a feature request in our tracker http://youtrack.jetbrains.net/issues/JT
Best regards,
Ekaterina