noark5_set_credentials
Configure authentication for the Noark 5 API using basic auth or OIDC password grant, with automatic token renewal to maintain secure access.
Instructions
Set authentication credentials for the Noark 5 API.
Supports two authentication methods:
Basic auth (RFC 7617): username/password encoded as Base64
OIDC / OAuth2 password grant: auto-discovers token endpoint via login/oidc/, with automatic token renewal via refresh_token
Args: username: The username for authentication. password: The password for authentication. base_url: Optional API base URL (default from env or http://localhost:8092/noark5v5/). auth_method: Authentication method — "auto" (default), "basic", or "oidc". With "auto", the server's root entity is queried to detect available login endpoints; OIDC is preferred over Basic. client_id: OIDC client identifier (optional, used with oidc method).
Returns confirmation and root entity links on success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base_url | No | ||
| password | Yes | ||
| username | Yes | ||
| client_id | No | ||
| auth_method | No | auto |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |