Renders the way in for users of another gerbeur instance, under the login form and, with the invite, under the register form.
f
FederatedSignIn(unnamed 0: FederatedSignInProps): React.JSX.Element
Renders a button per trusted instance (GET /api/federation/peers) and a
field for any other's address. Either starts the sign-in
(POST /api/federation/logins) and leaves for that instance's /authorize
page, which sends the user back to /federation/callback.
I
FederatedSignInProps
Passed to FederatedSignIn by UserLogin and UserRegister.
-
inviteToken: string
The invite the register page was opened with, which lets a user of any instance join; the login page has none, and offers the trusted instances.
Usage
import * as mod from "src/components/federation/FederatedSignIn.tsx";