Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proxy providers also listed as oauth2 providers #11949

Open
sch0sven opened this issue Nov 7, 2024 · 0 comments
Open

proxy providers also listed as oauth2 providers #11949

sch0sven opened this issue Nov 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@sch0sven
Copy link

sch0sven commented Nov 7, 2024

Describe the bug

When listing providers using the REST api, we see that proxy providers are also listed as oauth2 type providers.

To Reproduce
Steps to reproduce the behavior:

  1. Query proxy providers:

    curl -H "Authorization: Bearer $AUTHENTIK_API_TOKEN" \
    'https://<someurl>/api/v3/providers/proxy/' | \
    jq -r '.results | .[] | [.pk, .name, .meta_model_name] | @tsv '
    1       prov1      authentik_providers_proxy.proxyprovider
    2       prov2      authentik_providers_proxy.proxyprovider
    9       prov3      authentik_providers_proxy.proxyprovider
    6       prov4      authentik_providers_proxy.proxyprovider
  2. Query oauth2 providers:

    curl -H "Authorization: Bearer $AUTHENTIK_API_TOKEN" \
    'https://<someurl>/api/v3/providers/oauth2/' | \
    jq -r '.results | .[] | [.pk, .name, .meta_model_name] | @tsv '
    1       prov1      authentik_providers_oauth2.oauth2provider
    2       prov2      authentik_providers_oauth2.oauth2provider
    9       prov3      authentik_providers_oauth2.oauth2provider
    6       prov4      authentik_providers_oauth2.oauth2provider
  3. Compare lists and observe: Same providers seem to have changed type.

Expected behavior

Disjunct lists.

Version and Deployment (please complete the following information):

  • authentik version: first observer in 2024.8.1 but still observed in 2024.10.1
  • Deployment: AWS ECS

Please let me know if I can provider additional information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant