A Mastercard OAuth configuration script based on Googles OAuth, similar methods but cleaner