Conversation
| "you may not use this file except in compliance with the License. You may obtain a copy", | ||
| "of the License at https://creativecommons.org/licenses/by/4.0/" | ||
| ], | ||
| "$id": "https://ns.adobe.com/experience/primetime-authentication/application", |
There was a problem hiding this comment.
Consider moving this to a "primetime" vs "primetime-*" URLs are not supposed to be used for this level of granularity.
There was a problem hiding this comment.
This makes sense.
And if other Primetime teams will need to extend or shift the semantics for some fields, we'll have a great negotiation advantage, as we were here first! :)
| "$schema": "http://json-schema.org/draft-06/schema#", | ||
| "title": "Application extensions for Adobe Primetime Authentication", | ||
| "type": "object", | ||
| "meta:extends": ["https://ns.adobe.com/xdm/context/application"], |
There was a problem hiding this comment.
Lets see if we can actually add these to the standard Application schema.
There was a problem hiding this comment.
This would be great.
An application has 3 "zoom levels" in our system, as we consider the following hierarchy:
- The actual commercial name, as advertised by the owner (e.g. WatchESPN)
- The software package that gets shipped to a particular marketplace (e.g. WatchESPN iOS version 3.11)
- A particular installation of such a software package on some device (e.g. the WatchESPN instance on my very phone).
| "title": "Client API Version", | ||
| "type": "string", | ||
| "description": | ||
| "The client API version embedded or used by the application." |
There was a problem hiding this comment.
What client? Primetime? Improve the description please so it is clear what is supposed to go in here.
There was a problem hiding this comment.
Client here stands for "Primetime Authentication SDK". Maybe we should call it that. @cdobre ?
There was a problem hiding this comment.
I have removed this field for now. We need to discuss internally if is important to track various sdk versions or server versions.
| "title": "Server API Version", | ||
| "type": "string", | ||
| "description": | ||
| "The server API version to which the application connects to." |
There was a problem hiding this comment.
What server? Primetime? Improve the description please so it is clear what is supposed to go in here.
There was a problem hiding this comment.
Same here: "Primetime Authentication API" would probably be the proper name.
There was a problem hiding this comment.
I have removed this field for now. We need to discuss internally if is important to track various sdk versions or server versions.
| "title": "Service Provider", | ||
| "type": "string", | ||
| "description": | ||
| "The server API version to which the application connects to." |
There was a problem hiding this comment.
Looks like a copy/paste typo
There was a problem hiding this comment.
Definitely. This is the owner of the app/site which makes the content available to the end user.
| "description": | ||
| "The server API version to which the application connects to." | ||
| }, | ||
| "xdm:deviceType": { |
There was a problem hiding this comment.
With these two "deviceTypes" can we look at improving the standard XDM device type to cover the needs?
There was a problem hiding this comment.
The owner of the application is using this field to identify/track the device/platform in their metrics. The value is free form and ranges from user friendly names ("android-tv") to random generated values ("113e0b30330c5415e033" which is "fire-tv")
| "title": "Normalized Device Type", | ||
| "type": "string", | ||
| "description": | ||
| "The device type after was normalized by Adobe Primetime services from the application device type." |
There was a problem hiding this comment.
Does this use DeviceAtlas?
There was a problem hiding this comment.
No it doesn't. The value here reflect a legacy mapping owned by Adobe Primetime service ( see the comment above:
- the application device type is "113e0b30330c5415e033"
- the normalize device type is "fire-tv"
| "you may not use this file except in compliance with the License. You may obtain a copy", | ||
| "of the License at https://creativecommons.org/licenses/by/4.0/" | ||
| ], | ||
| "$id": "https://ns.adobe.com/experience/primetime-authentication/authentication", |
There was a problem hiding this comment.
Should likely be named +"-details"
| "description": "The authorization type", | ||
| "meta:enum": { | ||
| "authoritative" : "The flow through which the end user obtains an authoritative authorization decision.", | ||
| "non-authoritative" : "The flow through which the end user obtains a non-authoritative authorization decision useful initial content filtering" |
There was a problem hiding this comment.
Please add for between authorization decision useful and initial content filtering.
| "xdm:failReason": { | ||
| "title" : "Fail Reason", | ||
| "type": "string", | ||
| "description": "The reason for failed authentication", |
There was a problem hiding this comment.
I believe it should state The reason for failed authorization
| "invalid-refresh-token": "The OAuth2 refresh token is missing or invalid", | ||
| "invalid-authz-request": "There was an error when reading the authorization request", | ||
| "invalid-preflight-request": "The preflight request could not be build.", | ||
| "invalid-authz-request-degradation": "Authorization fails when trying to obtain authorization with an AuthNAll token for a different requestor than the one for which the authN token was issued", |
There was a problem hiding this comment.
Please replace authN token with authentication token.
| "description": | ||
| "External authentication provider which might intermediate the authentication flow" | ||
| }, | ||
| "xdm:authenticationType": { |
There was a problem hiding this comment.
Let's discuss this internally.
dd8bbbe to
4ed9b86
Compare
4ed9b86 to
24f2845
Compare
Initial take on Adobe Primetime Authentication extension.
Please review!