Quick configuration

TYPO3 v13

  1. Create your own public and private keys. Change the permissions of the keys to 600 or 660
  2. Include site sets and configure settings

TYPO3 v12

  1. Create your own public and private keys. Change the permissions of the keys to 600 or 660
  2. Enable the OAuth2 server for your site by adding following minimal site configuration:

    # sites/[site]/settings.yaml
    oauth2_server: []
    Copied!
  3. Set the path to your key files in the extension configuration or in the site configuration

    # sites/[site]/settings.yaml
    oauth2_server:
        privateKey: '/path/to/private.key'
        publicKey: '/path/to/public.key'
    Copied!
  4. Configure your resources by providing a list of yaml configuration files with resource routes.

    # sites/[site]/settings.yaml
    oauth2_server:
        resources:
            - 'EXT:my_extension/Configuration/Yaml/Routes.yaml'
    Copied!