Turns out it was a silly error for which i wasted 2 days, Reason: my spotify app was in developer-mode , so for any user i try to register , i should first go to spotify dashboard -> click on the app -> settings -> user management -> manually add user to access your app for testing. When you are ready to deploy go in settings -> extension request -> submit an extension request ! cheers ! thats why always read the docs !!