You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[LoggerMessage(Level=LogLevel.Warning,Message="Login endpoint {endpoint} failed to locate the password parameter in parameter collection {parameters}. Password parameter is the first that contains \"{contains}\" text in parameter name.")]
Copy file name to clipboardExpand all lines: NpgsqlRestClient/appsettings.json
+22-4
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
2.18.0.0
2
+
2.19.0.0
3
3
*/
4
4
{
5
5
//
@@ -224,8 +224,14 @@
224
224
//
225
225
"ReturnToPathQueryStringKey": "return_to",
226
226
//
227
-
// Login command to execute after the external auth process is completed.
228
-
// The first parameter is the email returned from the provider, the second parameter is the name returned from the provider and third parameter is the collection of the parameters that will include original query string.
227
+
// Login command to execute after the external auth process is completed. Parameters:
228
+
// - external login provider (if param exists)
229
+
// - external login email (if param exists)
230
+
// - external login name (if param exists)
231
+
// - external login json data received (if param exists)
232
+
// - client browser analytics json data (if param exists)
233
+
// Please use PostgreSQL parameter placeholders for the parameters ($1, $2, $3).
234
+
//
229
235
// The command uses the same rules as the login enabled routine.
230
236
// See: https://vb-consulting.github.io/npgsqlrest/login-endpoints and https://vb-consulting.github.io/npgsqlrest/login-endpoints/#external-logins
231
237
//
@@ -238,7 +244,9 @@
238
244
// Client IP address that will be added to the client analytics data under this JSON key.
239
245
//
240
246
"ClientAnaliticsIpKey": "ip",
241
-
247
+
//
248
+
// External providers
249
+
//
242
250
"Google": {
243
251
//
244
252
// visit https://console.cloud.google.com/apis/ to configure your google app and get your client id and client secret
@@ -648,6 +656,16 @@
648
656
//
649
657
"DefaultAuthenticationType": null,
650
658
//
659
+
// Command that is executed when the password verification fails. There are three text parameters:
660
+
// - scheme: authentication scheme used for the login (if exists)
661
+
// - user_name: user id used for the login (if exists)
662
+
// - user_id: user id used for the login (if exists)
663
+
// Please use PostgreSQL parameter placeholders for the parameters ($1, $2, $3).
664
+
//
665
+
// See https://vb-consulting.github.io/npgsqlrest/options/#authenticationoptionsdefaultauthenticationtype
666
+
//
667
+
"PasswordVerificationFailedCommand": null,
668
+
//
651
669
// Name of the PostgreSQL text parameter that will be used to pass the authenticated user id to the PostgreSQL routine (function or query) automatically (supplied values are rewritten).
0 commit comments