Commit graph

39 commits

Author SHA1 Message Date
d42
860ec7dbf2 remove trailing new lines 2020-02-24 21:12:03 +01:00
d42
76abcb5265 alembic 2020-02-24 21:12:03 +01:00
d42
446340c207 poetry is love; poetry is life 2020-02-24 21:12:03 +01:00
d42
c1006efefd very secure 2020-02-24 21:12:03 +01:00
d42
56e4aaa5e3 endpint 2020-02-24 21:11:57 +01:00
d42
696896d48e replace deprecated authlib.flask.oauth2 with authlib.integrations.flask_oauth2 2020-02-24 19:56:49 +01:00
d42
950809fe44 use functools.cached_property 2020-02-24 19:52:39 +01:00
69aa2b3d11 wip 2020-02-24 19:46:38 +01:00
bd6ec1ddc3 blacken 2019-09-01 16:52:22 +02:00
fb48a67ac1 add user_name, user_id, groups in userinfo 2019-08-30 17:24:49 +02:00
Serge Bazanski
23483292c5 nailed it 2019-06-01 17:59:10 +02:00
Serge Bazanski
f5c4c55f20 ux: show when user is inactive 2019-06-01 17:56:26 +02:00
76cbbe83b2 Load uid from LDAP to fix case-insensitive username authentication 2018-04-18 14:41:19 +02:00
722c601936 Add remember me checkbox 2018-04-10 16:00:17 +02:00
757beda134 Replace Client.approved field by static value for now 2018-04-10 15:40:30 +02:00
3c9d0dc919 Grant automatically if user has unrevoked token for specified client 2018-04-09 10:12:15 +02:00
bebd9b0db8 Fix CSRF 2018-04-09 10:10:01 +02:00
03cae23651 Rename new API function 2018-01-29 16:06:16 +00:00
2fbfb61693 Add OpenIDConnect userinfo endpoint
Quickly cobbled together based on a random spec [1] from the Internet.

Also drive-by fix a mixed indentation issue.

[1] - https://connect2id.com/products/server/docs/api/userinfo
2018-01-29 16:02:50 +00:00
7b1959faea Production fixes 2017-10-14 00:48:23 +02:00
f45805f172 Fix alert rendering 2017-10-14 00:42:54 +02:00
1309cecb21 User profile page with active tokens list 2017-10-11 02:19:08 +02:00
5969aa5283 Token revocation endpoint 2017-10-11 02:18:13 +02:00
fe90a80abf Add approved clients
Approved client is differentiated by green tick by its name on
authorization request page.
2017-10-11 01:59:40 +02:00
89b03d68b6 Add logout endpoint 2017-10-11 01:57:52 +02:00
76037fb02b Extract base template 2017-10-11 01:27:29 +02:00
9144ce8570 Simplify LDAP data extraction. 2017-10-09 21:05:31 +01:00
3f7b06129b Add tool to create clients. 2017-10-09 21:01:49 +01:00
b4a4a26a2f Cannibalize tomek/auth to create an OAuth microservice 2017-10-09 20:42:25 +01:00
72e5449a4f quick hack to not allow duplicate usernames with spaces 2014-10-11 14:02:15 +02:00
74d8dba84c Oh... 2013-09-01 14:42:49 +02:00
f56552f9d2 Oops. 2013-09-01 14:39:34 +02:00
6d129e9d89 Add mifare hash support. 2013-09-01 14:36:37 +02:00
Tomek Dubrownik
7cb3524679 forgot an import :/ 2012-11-20 00:06:07 +01:00
Tomek Dubrownik
a5ca0f9e67 fixed a security vulnerability 2012-11-19 23:59:53 +01:00
Tomek Dubrownik
33bf9f7e1e dist cfg for irc deref 2012-09-17 01:44:52 +02:00
Tomek Dubrownik
aee18f11dd irc dereference 2012-09-17 01:43:51 +02:00
Tomek Dubrownik
29cee8fb75 401 for bad login; text-plain 2012-09-15 00:35:40 +02:00
Tomek Dubrownik
97e4817a59 initial commit 2012-09-14 22:45:25 +02:00