We are trying to generate an oauth token and getting "unauthorized" 401 error message. Can someone assist in figuring out why?
This is the curl command we are using:
curl -i -d "grant_type=authorization_code&code=DC-yt<redacted>_pw." --user o0kXB<redacted>Chdfdfe-r6x_TA..:-QT6jZgN<redacted>nmA.. https://<redacted>.<redacted>.com:8443/ords/apex_ebs_extension/oauth2/token
Any thoughts on how to do so? Or do so a different way?