This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
docpublic:systemes:shibboleth:sp_gitlab [2023/03/06 16:02] adminjp created |
docpublic:systemes:shibboleth:sp_gitlab [2023/03/06 16:36] (current) adminjp [shibboleth image logo] |
||
---|---|---|---|
Line 9: | Line 9: | ||
* https:// | * https:// | ||
+ | |||
+ | ===== applied workaround ===== | ||
+ | |||
+ | ==== install gem omniauth-shibboleth ==== | ||
+ | |||
+ | < | ||
+ | [root@gitlab gitlab]# / | ||
+ | Fetching omniauth-shibboleth-1.3.0.gem | ||
+ | Successfully installed omniauth-shibboleth-1.3.0 | ||
+ | Parsing documentation for omniauth-shibboleth-1.3.0 | ||
+ | Installing ri documentation for omniauth-shibboleth-1.3.0 | ||
+ | Done installing documentation for omniauth-shibboleth after 0 seconds | ||
+ | 1 gem installed | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | ==== backup current files ==== | ||
+ | |||
+ | < | ||
+ | [root@gitlab gitlab]# | ||
+ | [root@gitlab gitlab]# cp / | ||
+ | [root@gitlab gitlab]# cp / | ||
+ | [root@gitlab gitlab]# cp / | ||
+ | </ | ||
+ | |||
+ | ==== revert to shibboleth ==== | ||
+ | |||
+ | by applying on previous file those changes | ||
+ | |||
+ | * https:// | ||
+ | |||
+ | < | ||
+ | [root@gitlab gitlab]# vim / | ||
+ | [root@gitlab gitlab]# vim / | ||
+ | [root@gitlab gitlab]# vim / | ||
+ | [root@gitlab gitlab]# vim / | ||
+ | </ | ||
+ | |||
+ | ==== unfrozen ==== | ||
+ | < | ||
+ | [root@gitlab gitlab]# / | ||
+ | </ | ||
+ | |||
+ | ==== shibboleth image logo ==== | ||
+ | |||
+ | download the shibboleth login button image | ||
+ | |||
+ | < | ||
+ | [root@gitlab gitlab]# mkdir -p / | ||
+ | |||
+ | [root@gitlab gitlab]# | ||
+ | [root@gitlab auth_buttons]# | ||
+ | </ | ||
+ | |||
+ | |||
+ | ==== reconfigure ==== | ||
+ | |||
+ | reconfigure and finish the update process (that might have broken because of the lack of shibboleth) | ||
+ | |||
+ | < | ||
+ | [root@gitlab gitlab]# gitlab-ctl reconfigure | ||
+ | [2023-03-06T17: | ||
+ | Recipe: gitlab:: | ||
+ | * runit_service[gitlab-workhorse] action restart (up to date) | ||
+ | [2023-03-06T17: | ||
+ | |||
+ | Running handlers: | ||
+ | [2023-03-06T17: | ||
+ | Running handlers complete | ||
+ | [2023-03-06T17: | ||
+ | Infra Phase complete, 9/592 resources updated in 02 minutes 52 seconds | ||
+ | gitlab Reconfigured! | ||
+ | </ | ||