caddy-jwt
caddy-jwt copied to clipboard
Take http status code as a configuration value
Hi,
We would like to be able to configure the status code, specifically instead of 303 we want to use 307
Maybe a config property RedirectCode=307
or have a ,307
after the url?
(edited to correct copy pasta typo)
Are you using caddy-jwt by itself or with another plugin?
by itself, it redirects to our auth server (I mean with a whole bunch of plugins in caddy but not generally with caddy-jwt)
I don't think that is going to happen. Caddy 2 will be coming out in a few months and all of the existing plugins will have to be rewritten to work with the new module system. I haven't decided yet whether I'll port the JWT plugin or let someone else take over, but with the new design there should be more flexibility to decide how you want it to redirect.
Aww, but I already did it :D
Caddy 2 will be coming out in a few months and all of the existing plugins will have to be rewritten to work with the new module system
I assure you, I feel your pain.