Skip to content

Commit b787083

Browse files
appsdeshapoorvadeshpande-okta
authored andcommitted
IP Addresses as a format
IP Addresses as a format
1 parent 132857b commit b787083

File tree

2 files changed

+26
-8
lines changed

2 files changed

+26
-8
lines changed

openid-caep-1_0.md

-8
Original file line numberDiff line numberDiff line change
@@ -735,9 +735,6 @@ The `event_timestamp` in this event type specifies the time at which the session
735735
### Event Specific Claims {#session-established-event-specific-claims}
736736
The following optional claims MAY be included in the Session Established event:
737737

738-
ips
739-
: The array of IP addresses of the user as observed by the Transmitter. The value MUST be in the format of an array of strings, each one of which represents the RFC 4001 {{RFC4001}} string representation of an IP address. (**NOTE**, this can be different from the one observed by the Receiver for the same user because of network translation)
740-
741738
fp_ua
742739
: Fingerprint of the user agent computed by the Transmitter. (**NOTE**, this is not to identify the session, but to present some qualities of the session)
743740

@@ -767,7 +764,6 @@ The following is a non-normative example of the `session-established` event type
767764
},
768765
"events": {
769766
"https://schemas.openid.net/secevent/caep/event-type/session-established": {
770-
"ips": ["192.168.1.12", "10.1.1.1"],
771767
"fp_ua": "abb0b6e7da81a42233f8f2b1a8ddb1b9a4c81611",
772768
"acr": "AAL2",
773769
"amr": ["otp"],
@@ -790,9 +786,6 @@ The Session Presented event signifies that the Transmitter has observed the sess
790786
### Event Specific Claims {#session-presented-event-specific-claims}
791787
The following optional claims MAY be present in a Session Presented event:
792788

793-
ips
794-
: The array of IP addresses of the user as observed by the Transmitter. The value MUST be in the format of an array of strings, each one of which represents the RFC 4001 {{RFC4001}} string representation of an IP address. (**NOTE**, this can be different from the one observed by the Receiver for the same user because of network translation)
795-
796789
fp_ua
797790
: Fingerprint of the user agent computed by the Transmitter. (**NOTE**, this is not to identify the session, but to present some qualities of the session)
798791

@@ -815,7 +808,6 @@ The following is a non-normative example of a Session Presented event:
815808
},
816809
"events": {
817810
"https://schemas.openid.net/secevent/caep/event-type/session-presented": {
818-
"ips": ["192.168.1.12","10.1.1.1"],
819811
"fp_ua": "abb0b6e7da81a42233f8f2b1a8ddb1b9a4c81611",
820812
"ext_id": "12345",
821813
"event_timestamp": 1615304991643

openid-sharedsignals-framework-1_0.md

+26
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ normative:
115115
RFC8936:
116116
RFC9110:
117117
RFC9493:
118+
RFC4001:
118119
CAEP:
119120
author:
120121
-
@@ -386,6 +387,31 @@ Subject Identifier Format.
386387
"assertion_id": "_8e8dc5f69a98cc4c1ff3427e5ce34606fd672f91e6"
387388
}
388389

390+
~~~
391+
{: #sub-id-ips title="Example: 'ips' Subject Identifier"}
392+
393+
### IP Addresses Subject Identifier Format {#sub-id-ips}
394+
395+
The "IP addresses" Subject Identifier Format specifies an array of IP addresses observed by the Transmitter.
396+
Subject Identifiers of this format MUST contain the following members:
397+
398+
ips
399+
400+
> REQUIRED. The array of IP addresses of the subject as observed by the Transmitter. The value MUST be in the format of an array of strings, each one of which represents the {{RFC4001}} string representation of an IP address.
401+
402+
403+
The "IP addresses" Subject Identifier Format is identified by the name
404+
"ips".
405+
406+
Below is a non-normative example of Subject Identifier for the "IP addresses"
407+
Subject Identifier Format.
408+
409+
~~~ json
410+
{
411+
"format": "ips",
412+
"ips": ["10.29.37.75", "2001:0db8:0000:0000:0000:8a2e:0370:7334"]
413+
}
414+
389415
~~~
390416
{: #sub-id-samlassertionid title="Example: 'saml_assertion_id' Subject Identifier"}
391417

0 commit comments

Comments
 (0)