...
Frequently when updating a resource not only does the Calling Application need to be known, but the End User that is attempting to perform the update also needs to be known. Either one or both are needed to properly determine if the action is authorized, while both are needed for audit logging.
Real World Scenario: An Engineering web application needs to update the registrations status for a given student. The web application will need to call through the API Gateway to the Registrations service. The Registrations service will need to know who the client application is in order to limit the scope of students that can be updated (ie. the Engineering web app call only look up Engineering students). Since this is an update, the audit log will also need to show who the user was that made the update. The user isn't used for access scoping, just audit logging.
Goals
- All Goals from Usage: Application to Resource Server Requirements
- Provide a way to get identifying information for both the Client Application and the End User.
- This identifiers should be used for both authorization and audit logging.
- Define a policy on Token Lifespan of 10 9 hours for password grant.
Out of Scope
...
Assumptions
- All Assumptions from Usage: Application to Resource Server Requirements
- Campus IdM system will support the password grant.
- It is a requirement that
ucsbNetId
's for Service Accounts must be unique and non-changing.- They should be able to be reused. But the expectation is that if a service account changes names, it will need to have it's permissions reestablished in all downstream systems.
...
Must meet requirements from Usage: Application to Resource Server Requirements
Ticket(s) | Title | User Story | Priority | Notes | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Identify End User | As a Client Developer, I need a way to provide the Resource Service with authenticated identity information about who is using my application. |
|
| |||||||||
Authenticate End User | As a Campus IdM Admin, I need authenticate the End User before the Resource Service can grant access. |
| ||||||||||
Verify End User in Resource Server (Service) | As a Resource Service Developer, I need a way to provide the Resource Service with authenticated identity information about who is using my resource. |
|
| |||||||||
Authorize End User & App in Resource Server (Service) | As a Resource Service Developer, I need to be able to lookup permissions and enforce access authorization. |
|
| |||||||||
Verify App in Resource Server (Service) | As a Resource Service Developer, I need to be able to provide the Resource service with authenticated identity information about the client application using my resource. |
|
|
...
Service Architecture for OAuth Token (PowerPoint)
Sequence Diagram for OAuth Token (WebSequenceDiagrams Link)
...