switch unless for if

unless confuses me when there is an else :p, also is it 'safe' to have the production Client Secret there?