MYOB API Keys with OAUTH 2.0
Hi, I am developing a desktop app for Windows which connects via OAUTH to MYOB Cloud instances.
It authenticates the user via the OAUTH MYOB login page and keeps the access token in memory while the user is using the app.
My question is, what about the API keys themselves, can anyone refer me to the requirements for storage of the API Key and secret? These are the keys I have been issued as a developer.
Obviously I don't want anyone to access these, even if they could not access any user data with them. Currently they're stored in code, but I want to know the correct way to store them.
Just to repeat, this is a desktop application which accesses cloud MYOB data. I intend to distribute this app via Microsoft Store.
ChatGPT recommends that I use OAUTH PKCE for this, but I can't find any documentation or posts here about that.
Is there any documentation for keeping the API keys secure for a desktop application? If necessary I can store them on my license key server and issue them to the desktop app on request, storing them only in memory. Would this be considered secure enough?
Thank you for any responses.