gustafn
committed
on 19 May 23
use in the configuration file more consistent names

All OpenACS package con be configured via the path
ns/server/[ns_info server]/acs/PACKA… Show more
use in the configuration file more consistent names

All OpenACS package con be configured via the path

ns/server/[ns_info server]/acs/PACKAGE_NAME, so use as well

this nameing convention for the OAuth parameters.

Examples are:

ns_section ns/server/$server/acs/oauth/ms {

   #

   # Defaults for client ID and secret for the app (administrative

   # agent) "ms::app" and the external identity provider for azure,

   # which might be created via

   #

   #    ::ms::Graph create ::ms::app

   #    ::ms::Authorize create ::ms::azure

   #

   ns_param client_id     "..."

   ns_param client_secret "..."

   ns_param tenant        "..."

   ns_param version       "v1.0"

}

ns_section ns/server/$server/acs/oauth/github {

   #

   # Defaults for client ID and secret for the the external identity

   # provider github, which might be created via

   #

   #    ::xo::oauth::GitHub create ::xo::oauth::github

   #

   ns_param client_id     "..."

   ns_param client_secret "..."

}

Show less