22 | | 1. The Token Service checks the re |
| 22 | 1. The Token Service checks the request token is approved and issues an Access Token. |
| 23 | 1. The Portal re-issues its request to the WPS but this time with the Access Token. The WPS accepts this request: the Portal is acting on behalf of the user. |
| 24 | 1. The WPS requires data from the CEDA TDS in order to execute its processing job. It makes a request but gets an unauthorized response. |
| 25 | 1. Following the same procedure as before, the WPS like the portal geta delegated authority to act on behalf of the user. Note that this time an alternate path is shown at the Portal Trust Registry. The registry has no entry for the WPS for this user. It makes a request to the user to get approval. This is over some other protocol to HTTP: e-mail, SM or other. This protocol has security implications so its nature is TBD. |
| 26 | 1. The end result of the delegation process for the WPS is that it gets an !OAuth Access Token which it can use to submit to the TDS. |
| 27 | 1. The TDS accepts this and allows the WPS to act on behalf of the user. |
| 28 | 1. The TDS returns the requested data to the WPS. |
| 29 | 1. The WPS executes its job and returns the response to the Portal |
| 30 | 1. The Portal in turn responds to the user. |