Separate function for generating cleint ids and secrets for OAuth