Dmitry Verkhoturov and Umputun
1b90604b2d
update go modules, fix Apple auth redirect
...
Previously the redirect after successful authentication didn't work.
2023-04-02 03:47:35 -05:00
Dmitry Verkhoturov and Umputun
c70a66a1c5
bump go modules
2023-01-21 13:30:44 -06:00
Dmitry Verkhoturov and Umputun
c1b3fba344
add backend support for Apple auth provider
...
It's a bit different from other OAuth providers and requires a
different set of options and a private key file.
2023-01-03 23:47:42 -06:00
Dmitry Verkhoturov and Umputun
d7e9be99f9
make Close() calls idempotent
...
Previously, few of them resulted in panics when called more than once.
2023-01-03 01:41:26 -06:00
Dmitry Verkhoturov and Umputun
cebe929118
bump go modules, enable LoginAuth option for email
...
That option is needed for outlook.com and Office 365, resolves #1472 .
2022-10-03 03:26:34 -05:00
Dmitry Verkhoturov
9ad3be2e97
bump go modules, make auth dev hostname customisable
...
After this commit, dev auth would start working with the `REMARK_URL`
hostname instead of the previously hardcoded 127.0.0.1.
Breaks development setup where `REMARK_URL` was set
to a non-standard value and dev auth was running on 127.0.0.1
and working, as, after that change, it would stop working.
2022-08-26 23:35:57 +02:00
Dmitry Verkhoturov and Umputun
1f96a0e4d3
update go-pkgz/auth module to fix dev provider work
...
Fix for error introduced in the following commit:
https://github.com/go-pkgz/auth/commit/06e72788bcbb23d958c60655b42892b95457477e
After text/template was replaced with the html/template,
the dev provider started escaping parameters
which were not supposed to be escaped.
2022-07-10 10:49:41 -05:00
Umputun
e182e3c776
switch to master version of auth
...
for https://github.com/go-pkgz/auth/pull/119
2022-06-05 12:49:30 -05:00
Umputun and GitHub
89dc8ac6dd
Go 1.17 ( #1306 )
...
* change go mod to 1.17
* update go-pgkz and transitive deps
* bump examples to go-1.17
* bump deps
2022-04-05 11:50:45 -05:00
Dmitry Verkhoturov and Umputun
6fd730655a
bump Go modules
2022-02-09 11:04:13 -06:00
Dmitry Verkhoturov and Umputun
6fe83fb6b8
bump auth module
...
Follow-up for https://github.com/go-pkgz/auth/pull/107
2022-02-06 14:22:27 -06:00
Dmitry Verkhoturov and Umputun
8d42d0714f
bump backend dependencies
...
Also, switch from fork github.com/umputun/go-flags back to original
github.com/jessevdk/go-flags.
2022-01-31 14:24:33 -06:00
Umputun
f621555ef4
update auth lib with /status support
...
potential fix for #1188 can use /auth/status
2021-12-07 13:03:12 -06:00
Dmitry Verkhoturov and Umputun
c751fbaf37
bump project dependencies, go-auth
2021-11-08 11:41:07 -06:00
Dmitry Verkhoturov and Umputun
3f0ede560c
bump go modules in the project
2021-09-08 11:34:48 -05:00
Dmitry Verkhoturov and Umputun
fd5df39fe2
bump backend auth module to fix telegram auth
2021-08-17 16:33:53 -05:00
Umputun
b66c94e002
migrate jwt lib to maintained fork and updated (the same way) go-pkgz/auth
2021-07-26 21:06:12 -05:00
Umputun
c055749dae
revendor to auth:master to provide fix for 404 avatar
2021-05-07 20:00:24 -05:00
Umputun and GitHub
0b13e8a8d2
update backend deps from go-pkgz ( #935 )
2021-03-29 16:24:59 -05:00
Umputun
fa22e32757
revendor with update auth #784
2021-01-15 11:37:07 -06:00
Umputun and GitHub
aff79a6fa9
Same site ( #850 )
...
* switch to auth master for same-site
* add same-site policy support #784
* add parse same site param
2021-01-14 13:06:29 -06:00
Umputun
b15f07b5f7
update auth module
2021-01-03 02:22:23 -06:00
Dmitry Verkhoturov and Umputun
6426ea154e
#819 add SendJWTHeader auth option, expose it on /config
2020-11-29 18:18:22 -06:00
Umputun
df9c05b490
add microsoft auth
2020-06-18 18:25:35 -05:00
Dmitry Verkhoturov and Umputun
890d7154e7
bump go modules
2020-05-24 19:00:07 -05:00
Dmitry Verkhoturov and Umputun
dba77d403d
bump go-pkgz modules, bbolt new url
2020-04-12 16:09:01 -05:00
Umputun
eb67ba85d1
update deps
2019-10-27 13:57:10 -05:00
Umputun
e018fac6c4
revendor
2019-09-05 18:56:43 -05:00
Umputun
ef7476d3e1
change auth lib to 0.8.2, fixed user's aud promotion
2019-08-24 14:17:35 -05:00
Umputun
a6149ae064
add support for avatar store uri
2019-08-24 01:59:24 -05:00
Umputun
c5b927904f
extend User struct with site_id/aud
...
updated to 0.8.0 of auth pkgs supporting user-space aud
2019-08-23 03:12:08 -05:00
Umputun
088294d36e
switch to go-pkgz/auth v0.7.2 with limited verification token
2019-07-06 18:56:49 -05:00
Umputun
1094d365a9
revendor with go-pkgz/auth v0.7.1
2019-07-02 22:42:26 -05:00
Umputun
24d685c4de
add email notificator with auth sender
2019-07-02 22:02:36 -05:00
Umputun
489b8a36e3
revendor with 0.5.2 of auth, with ability to redefine token query
2019-05-12 21:23:13 -05:00
Umputun and GitHub
4adbca22b2
Refactor rest ( #320 )
...
* fresh vendor
* enforce vendor flag with env
* move tree to service package
* move controllers routing to rest.go, remove separate subrouters
* cleanup/formatting
* missing vendor packages
* move rss, img proxy, robots and getstarted to top-level routes
* simplify logger middleware usage
* randomize server test ports
* check for non-admin in admin tests
* lint: minor warns
* admin test to jwt admin
2019-05-07 01:54:19 -05:00
Umputun
2a03afddc6
update auth to v0.5.0
2019-03-24 16:35:23 -05:00
Umputun
90a84dd886
update go-pkgz/auth to 0.4.2 with fixed direct id
2019-02-19 16:18:49 -06:00
Umputun
1475060555
revendore with auth 0.4.1, fix yandex auth provider bug
2019-01-24 13:58:54 -06:00
Umputun
953ff03e2f
missed in last commit
2019-01-17 13:18:49 -06:00
Umputun
f7403f08b9
inject refresh cache to auth, revendor go-pkgz/auth to 0.4
2019-01-17 13:17:16 -06:00
Umputun
ff46cbd173
require authed user to perfrom logout
2019-01-16 23:28:49 -06:00
Umputun
78debf05d9
auth 0.3.3 prevnets expired headers to pe passed in
2019-01-15 13:09:56 -06:00
Umputun
8c8f13fd73
adopt for rest errors and revendor go-pkgz
2019-01-13 23:27:15 -06:00
Umputun
61cf54d231
add comment id to rss
2019-01-08 03:59:15 -06:00
Umputun
7b54b00c01
switched to auth 0.3
2019-01-04 18:09:18 -06:00
Umputun
dcd40c42e2
vednor with auth 0.2.1 to minimize multiple token refreshes
2019-01-03 15:58:43 -06:00
Umputun
17acbc6322
vednor auth v0.2.0
2019-01-02 00:16:37 -06:00
Umputun
ca1943f909
revendor with auth:0.1.1
2018-12-31 17:47:25 -06:00
Umputun
189df5b0a4
revendor with latest auth lib
2018-12-31 01:05:29 -06:00