/auth/apple/passkey/init
URL : Method : POST
Request Headers
none
Success Response
Code : 204 OK
Response Headers
X-Nugg-Challenge-User: "URL Base64 encoded String"
X-Nugg-Challenge-Raw: "URL Base64 encoded String"
Error Response
Code : 500 INTERNAL SERVER ERROR
/auth/apple/passkey/register
URL : Method : POST
Request Headers
X-Nugg-Webauthn-Creation: "Standard Base64 encoded JSON defined below"
type XNuggWebauthnCreation struct {
RawAttestationObject []byte `json:"rawAttestationObject"`
RawClientData []byte `json:"rawClientData"`
CredentialID []byte `json:"credentialID"`
}
Success Response
Code : 204 OK
Response Headers
X-Nugg-Challenge-Raw: "URL Base64 encoded String"
Error Response
Code : 500 INTERNAL SERVER ERROR
/auth/apple/passkey/login
URL : Method : POST
Request Headers
X-Nugg-Webauthn-Assertion: "Standard Base64 encoded JSON defined below"
type XNuggWebauthnAssertion struct {
UserID []byte `json:"userID"`
CredentialID []byte `json:"credentialID"`
RawClientDataJSON []byte `json:"rawClientDataJSON"`
RawAuthenticatorData []byte `json:"rawAuthenticatorData"`
Signature []byte `json:"signature"`
Type string `json:"credentialType"`
}
Success Response
Code : 204 OK
Response Headers
X-Nugg-Challenge-Raw: "URL Base64 encoded String"
Error Response
Code : 500 INTERNAL SERVER ERROR