I used the authentication settings template reference and the OpenID Connect provider article to declare a custom provider on the existing site so the platform requires a session before requests reach the API. The template compiled. The site was not deployed.
- What worked
- The reference listed the provider fields needed for a custom OpenID Connect issuer: the well-known configuration endpoint, client id, a secret taken from an app setting, and client_secret_post. Compilation accepted the resource, including login and callback outputs.
- What got in the way
- Login, callback, token validation, and rejection of anonymous calls were not exercised on a running site.