oauth-wg / oauth-transaction-tokens

MIT License
7 stars 10 forks source link

Deployment models for the Transaction Token Service #96

Open gffletch opened 1 month ago

gffletch commented 1 month ago

This issue is to track different deployment models for the Transaction Token Service

gffletch commented 1 month ago

Embedded with the Authorization Server

In this model, the token exchange endpoint is exposed as part of the standard Authorization Server exposed endpoints. Pros:

Cons:

tulshi commented 3 weeks ago

Notes from call on 06-14-2024

obfuscoder commented 1 week ago

Here is how we deployed the TTS in our environment:

Although the TTS is a logical part of the AS system (and provided by the same team), it is a separate microservice than the authorizarion and token endpoints of the AS used by OAuth clients. The auth and token endpoints used by clients are reachable by clients outside of the company network, while the TTS endpoint is only reachable from within the company network. The key to sign the TraT is different from the key material used to encrypt/sign the ATs issued by the externally reachable token endpoint. Hence the "iss" and JWKS uris are different. We have multiple data centers and in each DC the TTS is available. The "iss" used by all TTS is the same for all DCs; a DC agnostic URI. All TTS deployments share the same key material.