From 12b9ab4c983055a19aeb15233c1bbabeb29ba665 Mon Sep 17 00:00:00 2001 From: Umputun Date: Sat, 2 Jun 2018 13:48:37 -0500 Subject: [PATCH] add info about session param in login --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d90f7b66..e0538da9 100644 --- a/README.md +++ b/README.md @@ -262,7 +262,7 @@ Also script can uses `url` property from `remark_config` object, or `window.loca ### Authorization -* `GET /auth/{provider}/login?from=http://url` - perform "social" login with one of supported providers and redirect to `url` +* `GET /auth/{provider}/login?from=http://url&session=1` - perform "social" login with one of supported providers and redirect to `url`. Presence of `session` (any non-zero value) change the default cookie expiration and makes them session-only. * `GET /auth/logout` - logout ```go