identity-login

command
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2026 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Command identity-login demonstrates the M2 identity half: the host assembles one site login, and the Identity it produces injects its own session cookies into every subsequent request.

identity_login  the agent-facing tool, running the host's registered form flow
Identity.Headers()  the host-side path: the cookie jar hands back the session
                    cookie without the caller tracking it

It runs against a local in-process target (examples/lab) that binds to loopback only. Point it at a real target with

go run ./examples/identity-login -base http://127.0.0.1:PORT

Nothing in this example reaches the network beyond loopback.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL