Fix getClientCredentials when no client_secret sent #12

Open
wants to merge 4 commits into
from

Projects

None yet

2 participants

@thomseddon

client_secret doesn't have to be provided to gain an access token.

Prior to this fix the script would throw undefined offset errors with no client_secret when using GET or POST, this commit just gives it null if not set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment