Hi, I am trying to do a OAuth 2.0 Client Credentia...
# general
a
Hi, I am trying to do a OAuth 2.0 Client Credentials Setup and submitted the ssl certificate. When i get back to the page the certificate is not appearing, the table is blank. when i troubleshoot i see this request GET https://4212683.app.netsuite.com/app/oauth2/clientcredentials/dataservice.nl?action=getClientCredentials is pending all the time. Once it actually works after a loong time but most of the time it outputs TypeError: Cannot read properties of undefined ... ( in the picture below) Anyone from netsuite be able to help me with this? Thanks beforehand
b
how are you generating the certificate?
a
using the command in the documentation :
Copy code
openssl req -x509 -newkey rsa:4096 -sha256 -keyout auth-key.pem -out auth-cert.pem -nodes -days 730
Today when i turn on my computer it magically appears, there are 4 rows of credentials in the table below, so i know its submitted correctly. but after a while i need to log in and it disappears again
b
that should generate a reasonable looking certificate
i dont think it allows you to upload the private key, so you cant really mix up the keys
you may want to try a different browser
a
yeah i only upload the public key. when i upload the private key it gives an error and i cant submit, i tried
ok let me try a different browser, thanks for the input!
ive used windows and google chrome , still the same. occasionally it appears (after multiple refreshes) but most of the time it gives the error below 🙏
b
you could try firefox
but honestly you probably just want to grab the certificate id and move on
a
yeah im trying it rn , cause i made 4 yesterday and idk which one is connected with my key ( no timestamp) , so i deleted all and recreate only one
now waiting for another miracle to happen haha, this is def a bug
I realized that every day first time i log in i can see the credential id and then when i refresh its gone.