Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release #880

Merged
merged 12 commits into from
Nov 18, 2024
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"name": "Account Reset MFA Passkey Authenticator",
"domain": "https://api.loginradius.com",
"path": "/identity/v2/auth/account/2fa/authenticator/passkey",
"method": "DELETE",
"getparams": {
"apikey*": "@apikey@",
"apisecret*": "@secret@",
"uid": ""
},
"postparams":"",
"headers":{
"content-Type":"application/json"
},
"response":"json",
"description": "This API is used to reset the Passkey Authenticator for an MFA-enabled user. ",
"parameters": {
"Get Params": [
{
"name": "apikey",
"is_required": true,
"description": "The API key of the LoginRadius account"
},
{
"name": "apisecret",
"is_required": true,
"description": "The API secret of the LoginRadius account"
},
{
"name": "uid",
"is_required": true,
"description": "The UID associated with the user"
}
]
},
"outputFormat":
{
"IsDeleted": true
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
{
"name": "Passkey MFA Register Begin using access token",
"domain": "https://api.loginradius.com",
"path": "/identity/v2/auth/login/2fa/register/passkey/begin",
"method": "GET",
"getparams": {
"apikey*": "@apikey@",
"Authorization":"Bearer "
},
"postparams":"",
"headers":{
"content-Type":"application/json"
},
"response":"json",
"description": "This API is used to begin the MFA passkey registration in the account using the Access token.",
"parameters": {
"Get Params": [
{
"name": "apikey",
"is_required": true,
"description": "LoginRadius API Key"
},
{
"name": "Authorization",
"is_required": true,
"description": "Bearer <ACCESS_TOKEN> (User's access_token)"
}
]
},
"outputFormat":
{
"RegisterBeginCredential": {
"publicKey": {
"rp": {
"name": "LoginRadius App",
"id": "localhost"
},
"user": {
"name": "f04d624989314945a95************8*",
"displayName": "f04d62498931494***************",
"id": "ZjA0ZDYyNDk4OTMxNDk0NWE5NTBjNmE***********"
},
"challenge": "1x9aUZmA5hCXdvt8szxILDmnWUWWkXgkAE61tC_7yJc",
"pubKeyCredParams": [
{
"type": "public-key",
"alg": -7
},
{
"type": "public-key",
"alg": -35
},
{
"type": "public-key",
"alg": -36
},
{
"type": "public-key",
"alg": -257
},
{
"type": "public-key",
"alg": -258
},
{
"type": "public-key",
"alg": -259
},
{
"type": "public-key",
"alg": -37
},
{
"type": "public-key",
"alg": -38
},
{
"type": "public-key",
"alg": -39
},
{
"type": "public-key",
"alg": -8
}
],
"timeout": 60000,
"authenticatorSelection": {
"requireResidentKey": false,
"userVerification": "preferred"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
{
"name": "Passkey MFA Register Begin",
"domain": "https://api.loginradius.com",
"path": "/identity/v2/auth/login/2fa/register/passkey/begin",
"method": "GET",
"getparams": {
"apikey*": "@apikey@",
"secondfactorauthenticationtoken*":""
},
"postparams":"",
"headers":{
"content-Type":"application/json"
},
"response":"json",
"description": "This API is used to begin the MFA passkey verification flow. In the query parameter, this will require to pass the second-factor token",
"parameters": {
"Get Params": [{
"name": "apikey",
"is_required": true,
"description": "LoginRadius API Key"
}, {
"name": "secondfactorauthenticationtoken",
"is_required": true,
"description": "SecondFactorAuthenticationToken from the response of 2FA authentication API"
}]
},
"outputFormat":
{
"RegisterBeginCredential": {
"publicKey": {
"rp": {
"name": "LoginRadius App",
"id": "localhost"
},
"user": {
"name": "[email protected]",
"displayName": "pushauth",
"id": "YmVlOGE2OGU1Y2Q3NDg0MmIwNDMzZDY0NzkyNTI1OGI"
},
"challenge": "TrdhAt14vnF2YmjRdQ0LFN4mx2DXKQlSaTTKr-Q3u7s",
"pubKeyCredParams": [
{
"type": "public-key",
"alg": -7
},
{
"type": "public-key",
"alg": -35
},
{
"type": "public-key",
"alg": -36
},
{
"type": "public-key",
"alg": -257
},
{
"type": "public-key",
"alg": -258
},
{
"type": "public-key",
"alg": -259
},
{
"type": "public-key",
"alg": -37
},
{
"type": "public-key",
"alg": -38
},
{
"type": "public-key",
"alg": -39
},
{
"type": "public-key",
"alg": -8
}
],
"timeout": 60000,
"authenticatorSelection": {
"requireResidentKey": false,
"userVerification": "preferred"
}
}
}
}
}
Loading