Commit Graph

10 Commits (a57ab990148f6337017cd2ccdf9ce38b0da99cc2)

Author SHA1 Message Date
informatic a57ab99014 Implement membership_required client option
User without an active membership:
* will be able to log into sso.hackerspace.pl
* will not be able to create/modify any of their clients
* will not be able to authorize to any client that has "Active
membership required" option enabled
* API requests for said user will return 402 (in case a token has
already been issued)

Authorization errors will now be wrapped in properly rendered alerts.
2022-04-29 00:24:35 +02:00
informatic c4c810cd25 sso: expose same info in id_token and userinfo endpoint 2021-02-01 16:56:50 +01:00
informatic ffd3e8561b Add group membership reporting in userinfo endpoint 2020-10-10 18:07:25 +02:00
informatic 15e3c059eb Code reformat 2020-10-10 17:40:22 +02:00
informatic df83515e6d Add destroy and regenerate secret actions to self-service portal 2020-05-31 19:53:42 +02:00
informatic 033b46b360 fix crdb support by casting uuid
Postgres seems to happily take in and automatically cast uuid type
values into varchar columns. This is not the case with cockroachdb.
2020-05-31 19:05:57 +02:00
informatic fa7912621d authorize: check scope when granting by default 2020-05-30 23:09:38 +02:00
informatic 64770ea1da final fixups 2020-05-30 22:53:06 +02:00
informatic 54e1ba0608 Add self-service client registration 2020-05-25 21:57:04 +02:00
informatic dcc698cbec Initial commit 2020-05-24 15:00:18 +02:00