Provisioning webid and pod programmatically

Hi, I’m new to solid and looking for provission pod.

I created client id using https://login.inrupt.com/registration endpoint and used this client with /authorization endpoint to login/ signup. However, the webid is not accessible (which return with token/id-token) and return not found response if user rigestered throug this flow.

So, I tried to provision the pod and webid using java, but i’m getting 401 unautorized response.

Any help is appreciated on this.