Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
170 commits
Select commit Hold shift + click to select a range
e5e588d
merge auth PR to intagration(v7r2-pre33)
TaykYoku Feb 14, 2021
11b4f8a
fix script import
TaykYoku Feb 14, 2021
4673b68
fixes
TaykYoku Feb 14, 2021
dd2fb6e
import decorators
TaykYoku Feb 14, 2021
be91785
align with WebAppDIRAC project
TaykYoku Feb 17, 2021
99df04f
add comments
TaykYoku Feb 18, 2021
e1f7eb6
fix group status page bug
TaykYoku Feb 18, 2021
1ae695e
use BaseReqBaseRequestHandler
TaykYoku Feb 18, 2021
1cbf05b
add self
TaykYoku Feb 19, 2021
7dfee69
fix log
TaykYoku Feb 19, 2021
681ec95
try to run tornado service
TaykYoku Feb 19, 2021
1f36da6
fix import
TaykYoku Feb 19, 2021
17820de
remove resource scope parameter
TaykYoku Feb 19, 2021
6bf1f70
add visitor access
TaykYoku Feb 19, 2021
b990b91
fix _gatherPeerCredentials
TaykYoku Feb 19, 2021
e2cf730
fix _gatherPeerCredentials
TaykYoku Feb 19, 2021
e5eacc8
fix jwt auth
TaykYoku Feb 19, 2021
23e3537
add getPersonalProxy with authenticated
TaykYoku Feb 19, 2021
dc2445e
add getPersonalProxy with authenticated
TaykYoku Feb 19, 2021
ab57382
align TornadoBaseClient to BaseClient
TaykYoku Feb 19, 2021
56049bb
fix import
TaykYoku Feb 20, 2021
bdecaa2
add IdP switches
TaykYoku Feb 20, 2021
6461bbb
remove dirac_webapp_run to align with v7r2
TaykYoku Feb 20, 2021
2d2f78c
add authenticate_token
TaykYoku Feb 24, 2021
812ba85
fix
TaykYoku Feb 24, 2021
7e0a56e
fix
TaykYoku Feb 24, 2021
3091bd2
use local cfg to store auth client creds
TaykYoku Feb 25, 2021
162bd94
fix
TaykYoku Feb 25, 2021
d6cdf44
rm unuse
TaykYoku Feb 25, 2021
cfaa64e
add AuthDB test
TaykYoku Feb 25, 2021
faf53ff
in progress
TaykYoku Feb 25, 2021
992fbca
fix Test_ProxyDB
TaykYoku Feb 25, 2021
9326b80
add authlib
TaykYoku Feb 25, 2021
8f5b32d
rename AuthDB2 to AuthDB, fix VARCHAR
TaykYoku Feb 25, 2021
e19d2b5
fix getProvidersForInstance
TaykYoku Feb 25, 2021
b18b259
fix getProvidersForInstance
TaykYoku Feb 25, 2021
11a16bf
some comments
TaykYoku Feb 26, 2021
2765346
mobe import
TaykYoku Mar 1, 2021
a6196cb
set log
TaykYoku Mar 1, 2021
0624e8a
set log
TaykYoku Mar 1, 2021
898cce5
set log
TaykYoku Mar 1, 2021
69904c1
search clients in cs also
TaykYoku Mar 1, 2021
9d74bd2
fix getAuthClientsFromCS
TaykYoku Mar 1, 2021
9933d00
fix cli fields
TaykYoku Mar 1, 2021
d9360f9
fix cli fields
TaykYoku Mar 1, 2021
e5a5041
read DN first
TaykYoku Mar 1, 2021
eedee18
fix WebHandler, docs
TaykYoku Mar 2, 2021
33e5654
test db
TaykYoku Mar 15, 2021
1822204
rm unuse, fixes
TaykYoku Mar 18, 2021
1739420
fix metaclass
TaykYoku Mar 18, 2021
826b6d9
rm getVOMSInfo
TaykYoku Mar 18, 2021
c1e7f4d
add AuthManager docs
TaykYoku Mar 18, 2021
be81a53
fix docs
TaykYoku Mar 18, 2021
0048658
rm artifacts
TaykYoku Mar 18, 2021
59176b9
add requirements
TaykYoku Mar 18, 2021
2652851
fix pylint
TaykYoku Mar 18, 2021
3e379c7
add authlib
TaykYoku Mar 18, 2021
35a21a0
rename example scripts
TaykYoku Mar 18, 2021
0443b92
rename example scripts
TaykYoku Mar 18, 2021
d9030fb
autopep8
TaykYoku Mar 18, 2021
1c30e77
fix test
TaykYoku Mar 18, 2021
38fa818
rebuild authz methods
TaykYoku Mar 18, 2021
ee212a8
fix db
TaykYoku Mar 19, 2021
a2b9e7d
fix Test_AuthManager
TaykYoku Mar 19, 2021
f3bae37
pylint, add from io import open
TaykYoku Mar 19, 2021
a08a754
fix argument
TaykYoku Mar 19, 2021
5006bc1
pylint, docs
TaykYoku Mar 21, 2021
b0e9958
docs
TaykYoku Mar 21, 2021
cd104b4
fix pylint
TaykYoku Mar 21, 2021
2a919da
fix AuthManager
TaykYoku Mar 21, 2021
ab49797
add logs
TaykYoku Mar 22, 2021
32b8b72
fix logs
TaykYoku Mar 22, 2021
43bf84f
fix logs
TaykYoku Mar 22, 2021
9bd035e
mail message
TaykYoku Mar 22, 2021
9f91f5a
fix _finishFuture for rest
TaykYoku Mar 22, 2021
9f77124
fix py3
TaykYoku Mar 23, 2021
0af2954
modify finish
TaykYoku Mar 23, 2021
186996d
fix pylint
TaykYoku Mar 23, 2021
7304c95
fix DB test
TaykYoku Mar 23, 2021
68f30f2
fix handlerManager args
TaykYoku Mar 23, 2021
5ab703e
fix raise
TaykYoku Mar 23, 2021
5230354
fix DiracAdmin
TaykYoku Mar 24, 2021
94de047
fix py3
TaykYoku Mar 24, 2021
032fca3
fix logs
TaykYoku Mar 24, 2021
de2e5c6
add Test_AuthDB to integration tests
TaykYoku Mar 24, 2021
f7747a6
ComponentInstaller add test if components set
TaykYoku Mar 24, 2021
b73ecc9
fix logs
TaykYoku Mar 24, 2021
799035d
fix py3
TaykYoku Mar 24, 2021
0f0ff72
add debug
TaykYoku Mar 24, 2021
696a2df
fix bug
TaykYoku Mar 24, 2021
92026a7
add debug
TaykYoku Mar 24, 2021
691a459
add exiped_at and id_token fields
TaykYoku Mar 24, 2021
e89ef21
fix request proxy
TaykYoku Mar 24, 2021
2deb873
fix logs
TaykYoku Mar 25, 2021
a7c0698
fix AuthAPI URLs
TaykYoku Mar 25, 2021
f6955ee
remove dev artefacts
TaykYoku Mar 27, 2021
4df1bdd
small edit
TaykYoku Mar 27, 2021
33d6dcc
add docs
TaykYoku Mar 28, 2021
5562493
add docs
TaykYoku Mar 28, 2021
fa572fe
add docs
TaykYoku Mar 28, 2021
d9d8501
add docs
TaykYoku Mar 28, 2021
fafbb64
add docs
TaykYoku Mar 28, 2021
cd3072d
update API docs
TaykYoku Mar 28, 2021
f7e1af0
fix whitespace
TaykYoku Mar 28, 2021
ec1c7e0
define full endpoint name
TaykYoku Mar 29, 2021
2811c21
fix whitespace
TaykYoku Mar 29, 2021
ec92c87
find index
TaykYoku Mar 29, 2021
a97998f
find index
TaykYoku Mar 29, 2021
ed461cb
fix bug
TaykYoku Mar 29, 2021
277f4e9
docs
TaykYoku Mar 30, 2021
6ad5797
logs
TaykYoku Mar 30, 2021
043977d
fix method name
TaykYoku Mar 30, 2021
dc9885a
docs, add client info endpoint
TaykYoku Mar 30, 2021
e9e1cf3
add config template
TaykYoku Mar 30, 2021
ed86115
fix clients
TaykYoku Mar 30, 2021
a2c6ea4
add docs
TaykYoku Mar 30, 2021
d2c775e
fix bugs
TaykYoku Mar 30, 2021
b641939
check response type
TaykYoku Mar 30, 2021
423bf33
add raise DIRAC errors as option
TaykYoku Mar 30, 2021
5372ae2
fix bug
TaykYoku Mar 30, 2021
4cd884d
fix bugs
TaykYoku Mar 31, 2021
5acad62
remove comment
TaykYoku Mar 31, 2021
aa27b57
move cli auth logic to grant
TaykYoku Mar 31, 2021
a7ff83c
remove unuse
TaykYoku Mar 31, 2021
31a46f0
rm coment
TaykYoku Apr 3, 2021
b848ac9
some fixes
TaykYoku Apr 4, 2021
43a0677
fix requirements
TaykYoku Apr 4, 2021
9f2e121
add ExchangeToken, fix bugs
TaykYoku Apr 5, 2021
cbfc95a
fix bugs
TaykYoku Apr 6, 2021
fae45b1
fix grant
TaykYoku Apr 6, 2021
68429a7
some fixes
TaykYoku Apr 7, 2021
88da5d1
fix pylint
TaykYoku Apr 8, 2021
e72cbac
rm unuse, fixes
TaykYoku Apr 9, 2021
746577a
fix multiDN for user/group
TaykYoku Apr 10, 2021
bf98d91
rename method
TaykYoku Apr 10, 2021
6c1fec6
parser separation
TaykYoku Apr 11, 2021
6b89450
check permissions to download personal proxy in restendpoint
TaykYoku Apr 11, 2021
1f26886
mv downloadablePersonalProxy flag
TaykYoku Apr 11, 2021
3564ebb
test DBversion
TaykYoku Apr 11, 2021
d773a93
fix set defaultgroup
TaykYoku Apr 11, 2021
f01322c
fix pylint
TaykYoku Apr 11, 2021
090f404
simplify AS configure
TaykYoku Apr 13, 2021
6fe7a36
move prepare also to thread
TaykYoku Apr 13, 2021
e5a3d04
conf fixes, optimize
TaykYoku Apr 13, 2021
a5a6dbf
separate prepare
TaykYoku Apr 13, 2021
e52ac28
fix getAuthClients
TaykYoku Apr 13, 2021
ba56c30
fix _gatherPeerCredentials Ecxeption
TaykYoku Apr 13, 2021
5a1c05d
use visitor auth for AS
TaykYoku Apr 13, 2021
0abb189
rm conf REST
TaykYoku Apr 13, 2021
fc9241e
add comments
TaykYoku Apr 14, 2021
1319809
use dominate
TaykYoku Apr 15, 2021
c1f2eae
optimize
TaykYoku Apr 15, 2021
7b9507c
optimize
TaykYoku Apr 15, 2021
1c70a71
fix
TaykYoku Apr 15, 2021
cbb27e2
add token auth to client
TaykYoku Apr 15, 2021
29d20e2
fix
TaykYoku Apr 16, 2021
cd274ef
fix refresh grant add init handler
TaykYoku Apr 17, 2021
b0742a6
use DB/cookie for auth sessions
TaykYoku Apr 18, 2021
909abd4
optimize, fix bug, docs
TaykYoku Apr 20, 2021
c6db90a
fix AuthServer
TaykYoku Apr 27, 2021
6853a59
fix devflow
TaykYoku Apr 27, 2021
c5b1832
fixes
TaykYoku Apr 27, 2021
c4b311b
fixes
TaykYoku Apr 27, 2021
ea9e767
getIdPForGroup
TaykYoku Apr 29, 2021
fe747f5
update token verification
TaykYoku Apr 29, 2021
d38fb49
fix auth API
TaykYoku Apr 29, 2021
e977ffd
fix proxy API
TaykYoku Apr 29, 2021
ee1cb0f
align with a changes
TaykYoku Apr 29, 2021
37a750a
client request
TaykYoku Apr 29, 2021
a1c12b8
fix db
TaykYoku May 4, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions dirac.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,19 @@ Systems
}
Resources
{
IdProviders
{
CheckIn
{
# What supported type of provider does it belong to
ProviderType = OAuth2
# Description of the client parameters registered on the identity provider side.
# Look here for information about client parameters description https://tools.ietf.org/html/rfc8414#section-2
issuer = https://aai-dev.egi.eu/oidc
client_id = type_client_id_here_receved_after_client_registration
scope = openid, profile, offline_access, eduperson_entitlement, cert_entitlement
}
}

# Section for proxy providers, subsections is the names of the proxy providers
# https://dirac.readthedocs.org/en/latest/AdministratorGuide/Resources/proxyprovider.html
Expand Down
3 changes: 3 additions & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ dependencies:
- typing >=3.6.6
# Pin OpenSSL to avoid: https://github.com/DIRACGrid/DIRAC/issues/4489
- openssl <1.1
# OAuth
- authlib ==0.15.3
- termcolor
- pip:
- diraccfg
# This is a fork of tornado with a patch to allow for configurable iostream
Expand Down
2 changes: 0 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,3 @@ caniusepython3
subprocess32
flaky
ldap3
# setuptools_scm comes via tornado. newer versions of setuptools_scm do not support py2
setuptools_scm<6.0
Loading