galaxy-collection - Behind auth protected endpoint #31854
Replies: 4 comments 3 replies
-
Manual steps
|
Beta Was this translation helpful? Give feedback.
-
I believe that Red Hat will change their way of using basic auth to token and will require process described above. Ref.: (valid subscription): https://access.redhat.com/articles/7036194 Meaning we need a way to update said access token dynamically. Guess that could either be by some pre-call via the Mend App or an API for us to update it ourself from the outside. Not sure that it's any way for us to actually update secretes on our own. https://docs.renovatebot.com/mend-hosted/app-secrets/ has now gone away with using encrypted secrets. |
Beta Was this translation helpful? Give feedback.
-
@rarkins does the hosted app support to somehow update these variables? Only solution I see is that one needs a job somewhere that keeps this token updated. Just had all my PRs closed because of expired token. 😅 |
Beta Was this translation helpful? Give feedback.
-
Hi there, This is intended as a polite, automated request that users avoid We know it might be common elsewhere but we participate in hundreds of discussions a week and would need to turn off GitHub mobile notifications if we were mentioned in every one. As a general rule, we will read and respond to all discussions in this repository, so there is no need to mention us. Thanks, the Renovate team |
Beta Was this translation helpful? Give feedback.
-
What would you like help with?
I would like help with my configuration
How are you running Renovate?
Mend Renovate hosted app on github.com
If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.
No response
Please tell us more about your question or problem
I am using an Ansible collection hosted behind an auth-protected endpoint.
I have a refresh token which if you follow the auth flow manually, and enter that returned token into renovate as a secret, renovate works as expected using
hostRules
. The issue is that the token returned by the auth flow, only lasts for 15mins, so I need renovate to get the token for me.Ansible allows you to set the
auth_url
via config:Looking at hostRules, I cant see how you'd follow an openid auth flow, and re-use the returned token for subsequent calls.
Obviously, if I use the refresh token, the endpoint doesn't like it (see the logs)
Is this possible? or a missing feature?
Logs (if relevant)
Logs
Beta Was this translation helpful? Give feedback.
All reactions