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

init webhook work #149

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

init webhook work #149

wants to merge 1 commit into from

Conversation

maltegrosse
Copy link

Describe the pull request

General

Once a user successfully logged in, a simple webhook is sent including the subdomain. If no webhook url is given, this functionally is ignored.

Background

As I am not able to use wildcard certificates or DNS challenge for my reverse proxy (traefik), I created a simple webhook function, which sends a post internally to some small middleware api service, which handles then dynamically the https cert creation by adding routes using the subdomain name. multiple webhooks (for the same subdomain) are ignored by my middleware.

If needed I can also provide some example setup (docker-compose) of my traefik setup.

Consent

  • I agree to follow the Code of Conduct by submitting this pull request.
  • I have read and acknowledged the Contributing guide.
  • I have added test cases to cover the new code or have provided the test plan.

Test plan

I havent added any test plans caus my limited golang knowledge - I hope someone else can assist here.

@maltegrosse maltegrosse requested a review from unknwon as a code owner May 31, 2024 16:06
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