Question
Bank of New Zealand
NZ
Last activity: 15 Jan 2026 22:32 EST
Authentication Profile with "Client_Credentials" Grant Type
Hi,
For creating a new Authentication Profile, is it possible to use the "Grant Type" of "Client_Credentials" without sending the "Client_Secret" in the "Request Body"?
1. Because there is an option to include the "TrustStore" and "KeyStore", so the client_secret is not necessary.
2. If it cannot be ignore, can we try to delete it somehow? (client_secret becomes a required field if "Client_Credentials" is selected for the Grant_Type)
3. Any other suggestion if we want to use this OOTB Authentication Profile using "Client_Credentials" grant_type without Client_Secret (in the header or request body) but only Certificate?
Hope my question makes sense.
Thank you very much.
@MichaelChen
Create a node level data page D_OAuthToken that stores access_token and an expires_at timestamp computed as now plus expires_in minus a 60 second buffer.
Set the data page refresh strategy to reload when a when rule IsTokenStale returns true if current time is at or beyond expires_at.
Read the token from D_OAuthToken for every business call and send it as Bearer.
If the connector returns 401, catch it in the error flow, call Clear Data Page on D_OAuthToken, then retry the call once so the data page reloads and fetches a fresh token.
Do not loop on repeated 401s; after one retry, fail fast and surface an actionable error.
If your AS sometimes revokes tokens early, also reload when 403 invalid_token appears.
Key the data page by client_id and requested scope to avoid cross talk between apps.
Log token fetch successes and failures, and alert if refreshes exceed a threshold so you can spot server side rollovers.