finos / legend-juju-gitlab-integrator

Gitlab Integrator Charm for FINOS Legend on Juju
Apache License 2.0
0 stars 4 forks source link

Update Callback URIs for hosted gitlab Applications #10

Open claudiubelu opened 2 years ago

claudiubelu commented 2 years ago

Currently, if the charm is configured to use a private gitlab instance, it will create the Gitlab Application which will be then used by FINOS Legend. When the Application is created, it will also configure the Callback URIs received from the related Legend applications.

However, if the Callback URIs change due to various reasons (external-hostname / enable-tls config options have changed), this charm does not update those Callback URIs, which are mandatory for the Legend applications authorization.

claudiubelu commented 2 years ago

This issue cannot be resolved at the moment because you cannot update existing GitLab applications through the current /applications API.

Ref: https://gitlab.com/gitlab-org/gitlab/-/issues/359065