Bitbucket Forge OAuth [NEEDS_AUTHENTICATION_ERR: Authentication Required]

Hello!
I am currently making a macro in confluence with my Bitbucket OAuth so I can fetch the authenticated users data. I have already tried the example with google provider and that works and following the same approach I was trying to do this for Bitbucket. I have setup the ClientId and Secret also properly.
But I get this error:

[NEEDS_AUTHENTICATION_ERR: Authentication Required] {
  status: 401,
  serviceKey: 'bitbucket',
  options: { scopes: undefined, isExpectedError: true }
}

Here is my manifest.yml configuration:

modules:
  macro:
    - key: instructions-confluence-hello-world-macro
      resource: main
      render: native
      resolver:
        function: resolver
      title: instructions-confluence
  function:
    - key: resolver
      handler: index.handler
      providers:
        auth:
          - bitbucket
resources:
  - key: main
    path: src/frontend/index.jsx
app:
  runtime:
    name: nodejs18.x
  id: ari:cloud:ecosystem::app/763d741c-f197-4417-a29c-544afa5d2d0b
providers:
  auth:
    - key: bitbucket
      name: Bitbucket
      scopes:
        - 'read:user:bitbucket'
        - 'read:workspace:bitbucket'
        - 'read:project:bitbucket'
        - 'read:repository:bitbucket'
        - 'https://api.bitbucket.org/2.0/user'
      type: oauth2
      clientId: <CLIENT ID>
      remotes:
        - bitbucket-api
      actions:
        authorization:
          remote: bitbucket-oauth
          path: /site/oauth2/authorize
        exchange:
          remote: bitbucket-oauth
          path: /site/oauth2/access_token
        revokeToken:
          remote: bitbucket-oauth
          path: /site/oauth2/revoke
        retrieveProfile:
          remote: bitbucket-api
          path: /2.0/user
          resolvers:
            id: id
            displayName: username
            avatarUrl: avatar
      bearerMethod: authorization-header
remotes:
  - key: bitbucket-api
    baseUrl: https://api.bitbucket.org
  - key: bitbucket-oauth
    baseUrl: https://bitbucket.org
permissions:
  external:
    fetch:
      backend:
        - https://api.bitbucket.org
        - https://bitbucket.org

Any help or suggestions would be greatly appreciated!
Thank you!