Added quotes around the entries in the configuration file.
This commit is contained in:
		| @@ -20,7 +20,7 @@ get_oauth_token() { | ||||
|     redirectURI="file://$(realpath ${0})" | ||||
|     # get client id and secret | ||||
|     curl -s -X POST -d client_name="${softwareName}" -d redirect_uris="://${redirectURI}" "${instanceURL}/api/v1/apps" | | ||||
|         jq --raw-output '"client_id=\(.client_id)\nclient_secret=\(.client_secret)"' > "${configPath}/${configFile}" | ||||
|         jq --raw-output '"client_id=\"\(.client_id)\"\nclient_secret=\"\(.client_secret)\""' > "${configPath}/${configFile}" | ||||
|         # Load the new variables from the configuration file | ||||
|         source "${configPath}/${configFile}" | ||||
|     # Create the url to get the oauth token | ||||
|   | ||||
		Reference in New Issue
	
	Block a user