create resource owner salesforce sandbox

Salesforce oauth service comes in production and sandbox (testing) environments, with different authorization and access_token urls, so I simply added a resource owner to test and use salesforce in a sandboxed environment.
Unfortunately it's not possible to locally configure salesforce sandbox because info_url is not static but a dinamically created one along with access token from salesforce.
wrong indentation