Connect to umbrel with python bitcoin rpc

Ive tried to connect to umbrel with ‘python-bitcoinrpc’, I use the rpc username and password provided in the bitcoin node connect button. But running getblockchaininfo command… or any other command for that matter… returns 403 forbidden. Wondering why this happens or if there is a better way to connect to umbrel via python