Question

Custom auth (API key) - how to invalidate/regenerate API key

  • 8 December 2021
  • 0 replies
  • 89 views

We are building a Zapier integration using custom auth. Users can copy an API key from our platform into a new Zap, the (relevant) config is as follows:
 

module.exports = {
config: {
type: 'custom',

fields: [{ key: 'apiKey', label: 'API Key', required: true }]
}
};

We want to offer Users to be able to regenerate this API key. This should turn off/invalidate existing Zaps where the key is used (either immediately or when a trigger is fired). How should we handle this?


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.