Bolted-on OAuth2 provider using EspoCRM as credentials provider.
You create accounts in EspoCRM, configure permissions here in Wilford. Your applications will then authenticate with Wilford, and your users can continue using their EspoCRM login credentials.
- Start everything with
make up
This will:
- Create an OIDC signing key if it doesn't exist
- Copy
sample_config.json
toconfig.json
- Start all containers
The following services will be available:
After starting, you should configure an API-client in EspoCRM:
- Log in with EspoCRM here. Your username and password are
admin
- In the top right, select the three dots > Administration
- Select Roles > Create Role
- Give it a name, e.g.
admin
- Set
User permission
toall
- Scroll down to
Users
, set toenabled
- Select
Save
- In Administration again, go to
API Users
> Create API User - Give it a name, e.g.
wilford
- Select the role you just created under
Roles
- Set
Authentication method
toHMAC
and selectSave
- Copy the
API Key
andSecret Key
toconfig.json
- Restart Wilford
docker-compose down
make up
# Private key
openssl genrsa -out ./oidc.pem 4096
# Public key
openssl rsa -in ./oidc.pem -pubout -outform PEM -out ./oidc.pem.pub
MIT or Apache-2.0, at your option