Skip to main content

DevAuth

Our DevAuth gives you access to a JWT similarly to the real proxy architecture, but without the need for a locally deployed proxy.

The DevAuth cookie is signed with the HS256 algorithm, but the signing key is fixed to 00000000000000000000000000000000!

To make DevAuth work, we use the option to set a cookie on loqal.host which is allowed for applications running on subdomains, like login.loqal.host.

sequenceDiagram participant Browser participant login.loqal.host participant loqal.host Browser ->> login.loqal.host: Login login.loqal.host -->> Browser: Set cookie for loqal.host Browser ->> loqal.host: Access application including authentication
DNS resolution

login.loqal.host resolves to our component running online in our infrastructure, loqal.host (and *.loqal.host) resolves to 127.0.0.1 to allow access to your locally running application.