Client creation is handled by the bigfork/silverstripe-oauth-login
module. See oauth-login.yml for an example configuration.
The module configures and provides an extension to the OAuth authenticator. This authenticator provides a logout handler.
By default, the module resets all authenticators. To enable local user access, add the following environment variable to your project:
ALLOW_MEMBER_AUTHENTICATOR=1
In project configuration:
---
Name: re-enable-local-authenticator
After:
- '#silverstripe-okta-authenticator'
---
SilverStripe\Core\Injector\Injector:
SilverStripe\Security\Security:
properties:
Authenticators:
default: '%$SilverStripe\MFA\Authenticator\MemberAuthenticator'
clientId
your Okta clientId for the app in questionclientSecret
your Okta clientSecret for the app in questionredirectUri
one of the "Sign-in redirect URIs" listed in your application (General Settings)issuer
your Okta URL, in the formathttps://my-subdomain.okta.com/oauth2
(or oktapreview.com for sandbox work)
See the example project configuration to see how these values are used.