I have set up an app and have the public API working fine in my dot net API.
My issue is with attempting to authenticate using OAuth.
I have constructed the URL to “request user authorisation code” and once navigated to it displays the login screen.
https://identity-sandbox.company-information.service.gov.uk/oauth2/authorise
?response_type=code
&client_id=d12c34fa-1111-1111-1111-1e234e5e5f43
&redirect_uri=https://localhost:7009/api/connection/process-callback
&scope=https://identity.company-information.service.gov.uk/user/profile.read
&state=11111111-1111-1111-1111-111111111111_f21be018-444f-4b8f-9486-0e5be2cfa46d
When entering my email it responds with
There is a problem
There is no Companies House account that uses this email address
I have a developer account, and filing account, both with the same email.
I understand this is the sandbox environment but cannot find any documentation on how to create a sandbox user account.
When attempting to create an account through this flow in the sandbox environment using the Create sign in detail link, I am presented with the following screen.
After ending the email, the screen suggests it has been created but no confirmation email is received. Spam folder has been checked.
Attempting to log in again using the email that was just used to ‘create’ a sandbox account still results in the “There is no Companies House account that uses this email address”
I have also tried with the ‘GOV.UK One Login’ to no prevail.
Any help/guidance would be greatly appreciated.



