Now I am able to successfully generate an access token and refresh token using postman. But the access_token generated cannot be used to authenticate any of the nextcloud api. I have tried with user Provisioning API but it is giving 401 error. Access_token is generated with admin credentials for testing.