Error: Unautherized error

I’m using Sign in API, when I click on the button an agreement page appear and after clicking the agree button , its gives me this “error”:“unauthorized”,“error_description”:“unauthorized - unregistered website domain”
notice that I have already added the domain in my App info.

Register ‘http://localhost:8080’ in the website domain.