Error invalid grant types: client_credentials while setting up client

Client type was showing correctly for me, but on a whim I decided to switch it to some other value and then switch it back to “Single Page Application”. I was able to save after this.