Connection parameters
Create the Client ID and Secret in the Nitro Developer portal — see
Credentials.
Connections are not shareable. When a flow or Power App is shared, each user creates their own
connection with their own credentials.
What happens on each call
1
Your credentials are attached
Request policies inside the connector add the connection’s Client ID and Client Secret to the
outgoing request as headers.
2
They are exchanged for a token
The connector’s script reads those headers, removes them, and calls
POST https://api.gonitro.dev/oauth/token with grant_type=client_credentials.3
The token is cached
Access tokens are valid for 24 hours. The connector caches each one, keyed on the credentials,
and reuses it until shortly before expiry. Renewal is automatic — flows never see a token
expire.
4
The request is forwarded
The script sets
Authorization: Bearer <token> and sends the request on to the Nitro API.
Your secret is only ever sent to the token endpoint, never to the operation endpoints.Rotating credentials
Rotating a Client Secret in the Nitro Developer portal does not update existing Power Automate connections. After rotating:- Open Connections in Power Automate.
- Find the Nitro PDF Services connection, open its ⋯ menu, and choose Edit to enter the new secret — or delete it and create a new one.
- If you created a new connection, open each flow that used the old one and re-select the connection on every Nitro step (⋯ → My connections).
Troubleshooting
Token error (HTTP 401) in the action's error message
Token error (HTTP 401) in the action's error message
The connector surfaces token endpoint failures verbatim, prefixed with
Token error. This
means Nitro rejected the credentials themselves rather than the operation — the application
may have been deleted or its secret rotated.A flow that used to work now fails on one step
A flow that used to work now fails on one step
Check which connection that step uses. A flow edited in a browser tab that was open before a
connection was replaced can be saved with the old connection reference. Open the step’s
⋯ → My connections and pick the current connection.
The connection tests fine but a specific action fails
The connection tests fine but a specific action fails
Authentication is shared across all actions, so a single failing action points at the request
rather than the credentials. Check
Limits and errors.