Is the http.login middleware a microservice?

Is the http.login middleware a microservice?

It’s a Caddy middleware. What do you mean exactly? Why are you asking?

At first , if can the http.login be as single sign-on service for my web sites? the second , if is the relation (or architecture ) of caddy to http.login the relation of api gateway to microservice/serverless ?

Yes - it can protect all sites on Caddy with the same authentication service if configured to do so.

No - the plugin http.login contains middleware and uses methods provided by Caddy to provide that middleware to the Caddy process as configured by Caddyfile directive.

Plugins are included in Caddy at compile time.

For a general overview of plugins: https://github.com/mholt/caddy/wiki/Extending-Caddy
For middleware specifically, which covers http.login: https://github.com/mholt/caddy/wiki/Writing-a-Plugin:-HTTP-Middleware

Thanks, Now I’m very clear

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.