Nuxt.js with dynamic oauth URL

I have tenant architecture and I’ll be collecting all tenant’s OKTA client ID, secret and app URL in database.
I have OAuth working for one application. Which is configured in nuxt.js in nuxt.config.js file. But I’m not sure how to make endpoints.authorization URL dynamic. Has anyone worked on this? Please guide me.