AirTrail
Sign in to the AirTrail flight tracker with Pocket ID.
Create the client in Pocket ID
Section titled “Create the client in Pocket ID”- In Pocket ID, open Administration → OIDC Clients and click Add OIDC Client.
- Enter a name such as
AirTrailand add the callback URLhttps://airtrail.example.com/login. - Click Create and copy the Client ID, the Client secret and the OIDC Discovery URL. The client secret is only shown once.
- On the client’s Access tab, select the groups that may sign in under Allowed User Groups, or choose All Users.
Configure AirTrail through the UI
Section titled “Configure AirTrail through the UI”- In AirTrail, open Settings → OAuth.
- Turn on Enable OAuth.
- Fill in the fields:
- Issuer URL: the OIDC Discovery URL from Pocket ID.
- Client ID: the Client ID from Pocket ID.
- Client Secret: the Client secret from Pocket ID.
- Save the settings and sign in with OAuth to test it.
Configure AirTrail with an .env file
Section titled “Configure AirTrail with an .env file”Check out AirTrail’s documentation for more details.
Example with .env:
OAUTH_ENABLED=trueOAUTH_ISSUER_URL=https://id.example.com/.well-known/openid-configurationOAUTH_CLIENT_ID=<client-id>OAUTH_CLIENT_SECRET=<client-secret>