-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Labels
enhancementNew feature or requestNew feature or request
Description
we would need people to supply their key/client email
along the lines of:
key = JOSE.JWK.from_pem("private key")
JOSE.JWT.sign(key, %{"alg" => "RS256"}, %{
iss: "firebase client email",
sub: "firebase client email",
aud:
"https://identitytoolkit.googleapis.com/google.identity.identitytoolkit.v1.IdentityToolkit",
iat: :os.system_time(:seconds),
exp: :os.system_time(:seconds) + 3600,
uid: firebase_user_id
})
|> JOSE.JWS.compact()
|> elem(1)Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request