Please use the following addon instead: https://github.com/joona/CockpitCMS-Auth0
In the Cockpit yaml config/config.yaml
:
auth0:
enable: true
domain: company.eu.auth0.com
secret: xxxxLG1Phms1LsZAnrNe3xxxxxx
database: connection-database-name
In Auth0 user_metadata
{
"cockpit": {
"group": "admin"
}
}