Closed alejandromumo closed 1 year ago
question: importing the `REMOTE_APP` could be troublesome if it was replaced by another instance. Perhaps we should get the github remote app using the oauth-client extension.
E.g:
remote = LocalProxy( lambda: current_oauthclient.oauth.remote_apps[ current_app.config["GITHUB_WEBHOOK_RECEIVER_ID"] ] )
However this is config, can we lazy load?
_Originally posted by @alejandromumo in https://github.com/inveniosoftware/invenio-github/pull/99#discussion_r1250704042_
E.g:
However this is config, can we lazy load?
_Originally posted by @alejandromumo in https://github.com/inveniosoftware/invenio-github/pull/99#discussion_r1250704042_