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

Background URL on authentik_flow is set incorrectly #354

Closed
wants to merge 1 commit into from

Conversation

pinarruiz
Copy link
Contributor

I have only commited a test as i think it will be easier to explain that way.

When setting the background property of the resource to something like /media/test.jpg this will result in /media/media/test.jpg.

I am not sure if this is related to the Terraform provider or Authentik itself, but doing it through the Authentik web interface, sets the url/path correctly.

@pinarruiz
Copy link
Contributor Author

Tests will fail the resource_flow_test with something like:

Attribute 'background' expected "/media/h3ycg8d7sd.jpg", got "/media/media/h3ycg8d7sd.jpg"

@codecov
Copy link

codecov bot commented May 17, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (5367842) 84.8% compared to head (786a305) 84.8%.

Additional details and impacted files
@@          Coverage Diff          @@
##            main    #354   +/-   ##
=====================================
  Coverage   84.8%   84.8%           
=====================================
  Files         74      74           
  Lines       8183    8183           
=====================================
  Hits        6932    6932           
  Misses       855     855           
  Partials     396     396           

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@pinarruiz pinarruiz closed this by deleting the head repository May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant