Is there a way to dynamically load okta config variables during runtime in Angular


#1

I have these variables but they change depending on the environment. Any ideas how to modify this?

const config = {
issuer: ‘’,
redirectUri:‘http://localhost:4200/implicit/callback’,
clientId: ‘’
};


#2

You can try something like this: https://github.com/okta/okta-oidc-js/issues/308#issuecomment-451305204