Discussions

Ask a Question
Back to All

I have multiple environments for a given api

I have multiple environments for a given api with different endpoints. For the logged on user, I am pre populating an apikey via custom login JWT.

But I want to pre-populate a different apikey per environment that user has selected.

For ex: apikey : dev key when user selected https://dev.org/api1

apikey: test key when user selected https://test.org/api1

How can I update and show the right api key per environment, I can pass all the right apikeys per environment in my jwt token (post login)