Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Using a variable in the target url

Currently our backend separates customer accounts into different url paths in the general form: http://example.com/foo/{accountName}/api/login

I'd like to tie this together in Apigee, and route to the appropriate account's endpoint based on, for instance, a claim in a JWT. However, I can't find a good generalized way to go about this that doesn't involve adding multiple policies at different points on each endpoint.

Any suggestions?

0 4 2,209
4 REPLIES 4
Top Solution Authors