Hi,
Recently I have create my own custom authentication provider using Tyk Identity Brocker. I just add this new profile in profiles.json of my TIB endpoint :
{ "ActionType": "GenerateTemporaryAuthToken", "ID": "2", "OrgID": "123", "IdentityHandlerConfig": { "DashboardCredential": "xxxx", "DisableOneTokenPerAPI": false, "TokenAuth": { "BaseAPIID": "<MY-API-ID-1>" } }, "MatchedPolicyID":"<My-policy-id>", "ProviderConfig": { "AccessTokenField": "access_token", "ExtractUserNameFromBasicAuthHeader": false, "OKCode": 200, "OKRegex": "", "OKResponse": "", "ResponseIsJson": true, "TargetHost": "<my-custom-auth-endpoint>", "UsernameField": "user_name" }, "ProviderName": "ProxyProvider", "ReturnURL": "", "Type": "passthrough" }
Now that it works fine, i’d like to go on and add some other APIs but how can use this same profile?
Is there a way, when I add a new API, to assign it this TIB profile (id:2 here) ?
Or do I need to add one profile each time I add an API (that is not very nice) ??
Thank you