Would there be a quick way to verify if the client_id and client_secret you are using is valid? Thanks
Hi @John_Done and welcome to the community,
What do you mean specifically by “valid”?
If they’re shown on the Authorization tab of your Developer console, I think it’s safe to assume they’re operational.
To check if your pat is valid just send it to users/me endpoint eg
GET https://app.asana.com/api/1.0/users/me HTTP/1.1
Authorization: Bearer <personal_access_token>
I wonder if you have something like it for client_id and client_secret for a quick check.
I don’t think there’s anything equivalent for the client id and secret because they have to be exchanged for an OAuth token in order to see if they’re valid/operational.
@Ross_Grambo, checking to see if you know of any other ideas?