Apps now receive your Freepod handle
Deployments that use Sign in with Freepod now receive the signed-in visitor's handle in a new X-Freepod-Username header, next to X-Freepod-User, X-Freepod-Email and X-Freepod-Name.
A handle is the name every Freepod account chooses once, such as alice. It contains only lowercase letters and digits, is unique, and never changes. That makes it a good default username for an app that shows people by name, without asking visitors to pick one again or using part of their email address.
username = request.headers.get("X-Freepod-Username") # None without a handle
What to know:
- The header is present only for visitors who have chosen a handle. Treat it as optional.
- Frameworks that read oauth2-proxy's headers get the same value as
X-Forwarded-Preferred-Username. - As with the other identity headers, Freepod removes any copy a client sends, so an app can trust the value it receives.
- Visitors who signed in before this change get the header from their next sign-in.
Apps that sign people in through Freepod with OpenID Connect get the same handle as the preferred_username claim. The consent screen lists it, so people see that the app receives it.
See Identity headers for the full list.
