Skip to main content

Symfony

A Symfony API that accepts LumoAuth access tokens on a firewall and checks permissions in a controller.

StarterPlanned
This example is planned. Not built yet. This page is the specification for the example.
Works with
PHPSymfony

What you get​

  • The bundle and its lumoauth configuration.
  • A firewall with LumoAuthAccessTokenHandler as the token handler.
  • A controller that asks $lumo->permissions->check().

Create it​

composer require lumoauth/symfony-bundle

Settings​

VariableValue
LUMOAUTH_URLhttps://app.lumoauth.dev, or https://eu.app.lumoauth.dev for the EU region.
LUMOAUTH_ORG_IDYour organization, for example acme-corp.
LUMOAUTH_API_KEYAn API key for the permission checks.

Next steps​