sm-action icon indicating copy to clipboard operation
sm-action copied to clipboard

Github Action not working for bitwarden.eu

Open kimdre opened this issue 10 months ago • 4 comments

This action does not seem to work with bitwarden.eu Also setting the base_url to bitwarden.eu does not work, since identity and api are reachable via subdomains, not paths.

kimdre avatar Apr 26 '24 13:04 kimdre

Did you try using identity_url and api_url?

- name: Step name
  uses: bitwarden/sm-action@v1
  with:
    access_token: ${{ secrets.ACCESS_TOKEN }}
    identity_url: https://identity.bitwarden.eu
    api_url: https://api.bitwarden.eu
    secrets: |
      SECRET_ID > ENVIRONMENT_VARIABLE_NAME

Thomas-Avery avatar Apr 26 '24 22:04 Thomas-Avery

Yes, was able to figure it out afterwards. However I think it would be better for cloud users to be able to just set their region since most probably have no idea what the identity_url and api_url are supposed to be set at.

kimdre avatar Apr 26 '24 22:04 kimdre

Thanks @kimdre for opening this as well as your PR.

For anyone following this thread, for consistency, an internal tracking ticket has been created: SM-1220

coltonhurst avatar Apr 29 '24 19:04 coltonhurst

Now that the MR is merged, could you please create a new release so we can use it? :)

kimdre avatar Sep 26 '24 20:09 kimdre