External Login Service

Hi,

I have built an API with his own /login endpoint. Users send a username and password and the API returns a JSON web token.

If the user wants to access to one resource, it sends the token in a header "x-token" and the API validate the token.

I want to use Apigee but I don't know if I can integrate that login flow in Apigee in order to use the "Quota" features.

In order to use the "Quota" policy, I need to enable "Oauth2" or "API token" auth from Apigee but I don't want to lose my login flow so I wonder if there is a way to integrate my flow into Apigee so I can use the quota policy

Thanks.

0 1 93
1 REPLY 1

Not applicable

This is not mandatory to use api key or oauth to implement quota.

You can use quota value set inside teh policy. For multiple types of quota values you can use quota class or quota identifier.