ValystrumHelp
Sign in

Register a confidential client

Plans
Every plan
Where
Settings
Updated

Most assistants register themselves and need nothing set up in advance. A host that needs a client ID and secret issued ahead of time, such as Copilot Studio or a Microsoft 365 agent, gets them from a confidential client that an owner or admin registers in Valystrum.

Before you start

  • You need the owner or admin role.
  • Copilot Studio shows a connector's redirect URL only once the connector exists, so the order matters.

Steps

  1. In Copilot Studio, create a generic OAuth 2.0 connector. Under Settings, AI assistants, Confidential clients, Valystrum lists the values it needs, each with a Copy button:

    • Authorization URL: https://app.valystrum.io/oauth/authorize
    • Token URL and Refresh URL: https://app.valystrum.io/api/oauth/token
    • Scope: read

    Use placeholder values for the client ID and secret for now.

  2. Copy the redirect URL the connector then shows. It starts with https://global.consent.azure-apim.net/redirect/.
  3. In Valystrum, press Register a client. Fill in:

    • Name, for example "Copilot Studio".
    • Redirect URIs: the connector's own redirect URL. Up to five, separated by spaces: https, http on localhost, or an app address such as com.example.app:/callback. Use the connector's own address, not the shared https://global.consent.azure-apim.net/redirect.
  4. Press Register a client in the form. Valystrum shows the Secret and the Client ID once, each with a Copy button. Copy both now: the secret cannot be read back.
  5. Paste the client ID and secret into the connector and save it. Press I have stored it in Valystrum.

Both fields are required: an empty one is refused before anything is sent ("Name is required.").

Later changes

  • Rotate secret issues a new secret, shown once. It asks for a fresh authenticator code first. The old secret stops working for new tokens at once; a token it already got keeps working until it expires, within 15 minutes.
  • Remove deletes the client. Its live connections end at once, and the confirmation says how many there are.
  • Redirect URIs cannot be changed once a client is registered. To use another address, register a new client.