Hi,
I'm not a programmer.
I have this working in PowerShell.
Requirement:
Query hardware vendor web APIs, using the device serial number, for device warranty status.
The vendors require that the "client_id" and "client_secret", as well as the "grant_type=client_credentials" be passed.
All of the documentation I've located discusses using Oauth for 3rd party authentication. Obviously, not what I'm doing. Can anyone point me to a tutorial that uses "client_credentials"? I've not found one.
I tried using the example on the authO website; no luck: https://auth0.com/docs/api-auth/tutorials/client-credentials (you have select Go from the list of languages). When printing out the 'payload' variable I see it appended with a {0 -1} and I'm wondering if that's the problem:
&{client_id=xxxxxxxxxx&client_secret=xxxxxxxxxx&grant_type=client_credentials 0 -1}
{
"error":"invalid_request",
"error_description":"Missing or duplicate parameters"
}
Thanks in advance.
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAK4xykVkQEspkzQ0D0wuZrznM4P1Mtt1KNXnobR9GZypxbUtrQ%40mail.gmail.com.
> To unsubscribe from this group and stop receiving emails from it, send an email to golan...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/64214d0a-1191-4f46-8bfd-2c716cdb2d3f%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golan...@googlegroups.com.