bland-finland-95044
02/27/2024, 3:21 PMDocumentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
How do you authenticate to the non-adminstrative APIs?chilly-king-10285
02/27/2024, 3:21 PMchilly-king-10285
02/27/2024, 3:21 PMoryAccessToken
. This suggests that while some actions can be performed without authentication, more sensitive or administrative tasks require proper authentication tokens. For more detailed information on the Ory API and its authentication requirements, you can refer to the official documentation: [Ory API Reference](https://www.ory.sh/docs/reference/api).bland-finland-95044
02/27/2024, 6:44 PMremote:
enabled: true
config:
remote: "<https://our.website.com/relation-tuples/namespace=Application&object=helloworld&subject_id={{> print .Subject }}&relation=use"
chilly-king-10285
02/27/2024, 6:44 PMchilly-king-10285
02/27/2024, 6:44 PMremote_json
authorizers, including setting the remote
URL and other configurations such as headers and payload, which can be templated using Go's text/template
syntax. For instance, in the configuration examples for both remote
and remote_json
authorizers, templating is used within the headers
and payload
fields respectively: - For the remote
authorizer: yaml headers: X-Subject: "{{ print .Subject }}"
- For the remote_json
authorizer: yaml payload: | { "subject": "{{ print .Subject }}", "resource": "{{ printIndex .MatchContext.RegexpCaptureGroups 0 }}" }
These examples demonstrate the use of templating within specific configuration fields, but do not explicitly cover the use of templating within the query parameters of the remote
URL itself. Given the absence of direct information on templating query parameters for the remote authorizer's URL in the provided extracts, it's advisable to consult the official Ory Oathkeeper documentation or the Ory community for more specific guidance or updates on this capability. For more detailed and up-to-date information, please refer to the [Ory Oathkeeper documentation](https://www.ory.sh/docs/oathkeeper/pipeline/authz).