Marcus Hardt (KIT)
Nicolas Liampotis (GRNET)
61st EUGridPMA+ and AARC Policy meeting (in conjunction with IGTF, GN5-1 EnCo)
Sub title
AARC Policy: Token life time and revocation guidance
30 May, 2024
1
Authentication and Authorisation for Research and Collaboration
https://aarc-community.org
Introduction
2
https://aarc-community.org
Token Properties Overview
3
Property | Description | Advantages | Disadvantages |
Bound | Token is bound to a specific client or audience | Mitigate impact of compromised tokens | Delegation scenarios may lack support |
Rotatable | Token can only be used once. New token issued with each use | Detect compromised tokens | More work on clients Revoking the last token in chain needs more thought Good potential to break production runs |
Revocable | Revoked tokens may no longer be used, regardless of initial lifetime | Longer lifetime acceptable | Depending on underlying tech. needs additional implementation work (e.g. OIDC) |
Opaque | No information for client or rp in token | Privacy, Performance | Contact issuer for every bit of information |
https://aarc-community.org
Token Properties Overview (Contd.)
4
Property | Description | Advantages | Disadvantages |
Structured, Signed | Often a signed JWT that contains information about subject | Essential information readily available: Name, Expiry, Issuer, Scope | Less Private |
Verified Online | Tokens are verified with the issuer to
| Essential information readily available: ... issuer, ... |
|
Verified Offline | Tokens contain enough information to
| Extended information readily available: Assurance, Entitlements |
|
https://aarc-community.org
Token Types Overview
5
Type | Description | Properties |
X.509 Certificates |
|
|
OAuth2 Access Tokens |
|
|
https://aarc-community.org
Token Types Overview (Contd.)
6
Type | Description | Properties |
OIDC ID Tokens |
| |
OAuth2/OIDC Refresh Tokens |
|
|
Mytokens | New Tokens that provide well defined restrictions and capabilities to give Access Tokens to the right people |
|
https://aarc-community.org
Existing Guidance on Token Lifetime
7
Type | Recommended Lifetime | Min Lifetime | Max Lifetime |
OAuth2 Access Tokens |
|
|
|
OIDC ID Tokens |
|
|
|
OAuth2/OIDC Refresh Tokens |
|
|
|
Mytokens |
|
|
|
https://aarc-community.org
Summary
8
https://aarc-community.org
davidg@nikhef.nl
Thank you
Any Questions?
https://aarc-community.org
© members of the AARC Community.
The work leading to these results has received funding from the European Union (GAP 101131237) and other sources
https://aarc-community.org