-
Notifications
You must be signed in to change notification settings - Fork 15
/
openid-risc-use-cases.txt
224 lines (112 loc) · 5.82 KB
/
openid-risc-use-cases.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
Shared Signals Working Group M. Scurtescu
Coinbase
9 February 2023
OpenID RISC Use Cases
openid-risc-use-cases-0_1
Abstract
This document describes the RISC use cases and helps with defining
the requirements for token format and event distribution.
Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 1
2. Definitions . . . . . . . . . . . . . . . . . . . . . . . . . 1
3. Use Cases . . . . . . . . . . . . . . . . . . . . . . . . . . 2
3.1. Explicit IdP to RP . . . . . . . . . . . . . . . . . . . 2
3.2. Explicit RP to IdP . . . . . . . . . . . . . . . . . . . 2
3.3. Implicit IdP to RP . . . . . . . . . . . . . . . . . . . 2
3.4. Implicit RP to IdP . . . . . . . . . . . . . . . . . . . 3
3.5. Pseudo-implicit . . . . . . . . . . . . . . . . . . . . . 3
3.6. Identity as a Service . . . . . . . . . . . . . . . . . . 3
3.7. Security as a Service . . . . . . . . . . . . . . . . . . 4
3.8. On-Premise RP . . . . . . . . . . . . . . . . . . . . . . 4
Author's Address . . . . . . . . . . . . . . . . . . . . . . . . 4
1. Introduction
2. Definitions
* Transmitter - the entity that sends security events
* Receiver - the entity that receives security events
* IdP - Identity Provider, in most cases but not always this is the
transmitter
* RP - Relying Party, in most cases but not always this is the
receiver
* RISC - Risk and Incident Sharing and Coordination, see
http://openid.net/wg/risc/
* SCIM - System for Cross-domain Identity Management, see
http://www.simplecloud.info/
Scurtescu Informational [Page 1]
OpenID RISC Use Cases February 2023
3. Use Cases
3.1. Explicit IdP to RP
* Transmitter: IdP
* Receiver: RP
Simplest use case, IdPs send security events to relevant RPs.
RP can make control plane calls to the IdP and can authenticate with
access tokens issued by IdP.
3.2. Explicit RP to IdP
* Transmitter: RP
* Receiver: IdP
The RP can also send RISC events back to IdP. We want to make it
very easy for the RP to do that, no complicated registration steps
and crypto of possible.
IdP can document well-known endpoint for data plane (where it
receives events). RP can use access token when sending events on
data plane and maybe does not need to sign SETs.
If RP is sophisticated and is exposing its own control plane then
during RP stream registration with IdP (either manual or
programmatic) it can advertise its own issuer and that issuer through
.well-known can specify full transmitter functionality of RP.
3.3. Implicit IdP to RP
* Transmitter: implicit IdP
* Receiver: implicit RP
Example: Google and Amazon, Amazon account can be backed by gmail
address. Amazon acts as implicit RP to Google in this case.
Google and Amazon need legal agreement, When Amazon account is
created or updated with gmail address Amazon makes REST call to
Google to enroll this new email address for RISC events. If
enrollment succeeds then RISC events will flow bidirectionally (see
next section, for simplicity only unidirectional is considered in
this section).
Scurtescu Informational [Page 2]
OpenID RISC Use Cases February 2023
Assumption: Amazon/RP is registered with Google/IdP as an OAuth 2
client and can use access tokens for control plane.
Open question: what are the implications of unverified email
addresses?
Open question: discovery of hosted domains, how does Google know that
example.com is managed by Oracle and that subject enrollment should
be sent to them?
3.4. Implicit RP to IdP
* Transmitter: implicit RP
* Receiver: implicit IdP
No enrollment call is strictly necessary. The RP can start sending
events to IdP as new identifiers show up.
3.5. Pseudo-implicit
Common email address or phone number used by two different RPs.
Example: Amazon and PayPal, both Amazon and PayPal each have an
account with the same gmail address.
Mutual discovery by exchanging email address hashes.
Open question: legal and privacy implications
3.6. Identity as a Service
Example: Google Firebear, IdaaS manages large number of RPs and
implements RP functionality on their behalf.
IdaaS should be able to manage SET distribution configuration for its
RPs with a given IdP using the credentials already established
between the RP and the IdP. Control plane operation to create/update
stream allows that.
Assumption: IdaaS can impersonate RP at IdP (can obtain access token
on behalf of RP)
Scurtescu Informational [Page 3]
OpenID RISC Use Cases February 2023
3.7. Security as a Service
Similar to IdaaS described in previous section, but the service
provider has its own set of credentials different from the
credentials and RP is using. The SP cannot impersonate the RP at
IdP. The IdP must define delegation rules and allow the SP to make
requests on behalf of the RP.
3.8. On-Premise RP
The RP (receiver) is behind a firewall and cannot be reached through
HTTP. The only way to deliver events is if the RP periodically polls
an endpoint provided by the transmitter.
Author's Address
Marius Scurtescu
Coinbase
Email: marius.scurtescu@coinbase.com
Scurtescu Informational [Page 4]