Custom step with auth credentials

I followed the tutorial Adding Steps to a Workflow - Bitrise Docs to introduce a custom step in my workflows.

For example if i add the following to bitrise.yml from this public repo:
- git::https://user:password@github.com/bitrise-io/steps-script.git@1.1.3: {}
i see a failed to load step error in the workflow editor.

with - git::https://github.com/bitrise-io/steps-script.git@1.1.3: {} it works.
it looks like auth credentials are not supported.

My use case would be on a private self hosted gitlab repo. Something like:
- git::https://oauth2:my_access_token@gitlab.mycompany.com/android-applications/bitrise-steps.git@main: {}

Is it possible to use a private repo for a custom step?

Thanks you in advance for your help.
Best regards,

Hi @julien.bouffard - welcome to the Bitrise community board :wave:

Bitrise does not support URLs where the authentication is embedded into the URL itself, for security reasons. So you cannot introduce a custom step in the way you first imagined.

You can try to set a username/token using the netrc step, then execute the private step later in the workflow using that authentication.

If you get stuck with this, please open a support ticket by pressing the purple circle icon bottom-right of any Bitrise page.

Happy building!