Removed 'public' OIDC flow from application. Deprecated 'AUTH_OIDC_CLIENT_TYPE'. Removed 'AUTH_OIDC_CLIENT_TYPE' from documentation. Updated OIDC config checks. Removed 'AUTH_OIDC_CLIENT_TYPE' and 'public' OIDC flow references from README.md

This commit is contained in:
Glenn de Haan
2024-09-30 19:35:39 +02:00
parent 9e6eece08b
commit 4ad1b68161
10 changed files with 37 additions and 73 deletions

View File

@@ -44,13 +44,12 @@
Now, configure your UniFi Voucher Site to use the Authentik client.
1. In your UniFi Voucher Site configuration, set `AUTH_OIDC_CLIENT_TYPE` as `confidential`.
2. Set the `AUTH_OIDC_CLIENT_ID` as configured in Authentik (found in the Authentik provider configuration).
3. Provide the `AUTH_OIDC_CLIENT_SECRET` (found in the Authentik provider configuration).
4. Provide the `AUTH_OIDC_ISSUER_BASE_URL` from your Authentik provider.
1. Set the `AUTH_OIDC_CLIENT_ID` as configured in Authentik (found in the Authentik provider configuration).
2. Provide the `AUTH_OIDC_CLIENT_SECRET` (found in the Authentik provider configuration).
3. Provide the `AUTH_OIDC_ISSUER_BASE_URL` from your Authentik provider.
- You can find this under **Providers > unifi-voucher-provider > OpenID Configuration URL** in Authentik.
5. Provide the `AUTH_OIDC_APP_BASE_URL` from your UniFi Voucher Site instance (e.g., `https://voucher.example.com`).
6. Restart the container after these changes
4. Provide the `AUTH_OIDC_APP_BASE_URL` from your UniFi Voucher Site instance (e.g., `https://voucher.example.com`).
5. Restart the container after these changes
---
@@ -62,4 +61,4 @@ Now, configure your UniFi Voucher Site to use the Authentik client.
### Common Issues
- **Invalid Redirect URI**: Ensure the callback URI matches what is configured in Authentik.
- **Client Secret Errors** (for confidential clients): Double-check the client secret in both Authentik and your UniFi configuration.
- **Client Secret Errors**: Double-check the client secret in both Authentik and your UniFi configuration.