Change password reset flow, add token exchange step
This commit is contained in:
+18
-2
@@ -93,7 +93,7 @@
|
||||
{
|
||||
"name": "requestPasswordReset",
|
||||
"method": "POST",
|
||||
"title": "Request password reset token",
|
||||
"title": "Request password reset token (via email)",
|
||||
"path": "/request-password-reset",
|
||||
"parameters": {
|
||||
"post": [
|
||||
@@ -106,10 +106,26 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "exchangePasswordResetToken",
|
||||
"method": "POST",
|
||||
"title": "Exchange password reset token for new token and user info",
|
||||
"path": "/exchange-password-reset-token",
|
||||
"parameters": {
|
||||
"post": [
|
||||
{
|
||||
"name": "token",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"title": "Token"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "resetPassword",
|
||||
"method": "POST",
|
||||
"title": "Reset password with token",
|
||||
"title": "Reset password with exchanged password reset token",
|
||||
"path": "/reset-password",
|
||||
"parameters": {
|
||||
"post": [
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
{
|
||||
"Name": "requestPasswordReset",
|
||||
"Method": "POST",
|
||||
"Title": "Request password reset token",
|
||||
"Title": "Request password reset token (via email)",
|
||||
"Path": "/request-password-reset",
|
||||
"Parameters": {
|
||||
"post": [
|
||||
@@ -85,10 +85,26 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "exchangePasswordResetToken",
|
||||
"Method": "POST",
|
||||
"Title": "Exchange password reset token for new token and user info",
|
||||
"Path": "/exchange-password-reset-token",
|
||||
"Parameters": {
|
||||
"post": [
|
||||
{
|
||||
"name": "token",
|
||||
"required": true,
|
||||
"title": "Token",
|
||||
"type": "string"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "resetPassword",
|
||||
"Method": "POST",
|
||||
"Title": "Reset password with token",
|
||||
"Title": "Reset password with exchanged password reset token",
|
||||
"Path": "/reset-password",
|
||||
"Parameters": {
|
||||
"post": [
|
||||
|
||||
Reference in New Issue
Block a user