wi3land / ionic-appauth

Intergration for OpenId/AppAuth-JS into Ionic V3/4/5
MIT License
98 stars 73 forks source link

Multi autority server #118

Open Saveriu opened 2 years ago

Saveriu commented 2 years ago

Hi! I want to be able to change the configuration at runtime to be able to change the authority server. Can I use the same instance of AuthService and just change config then launch init method or do I need to rebuild a new instance?

mraible commented 2 years ago

I'm not sure. What web framework are you using and why do you need this functionality?

jackymyh commented 5 months ago

Hi, I am also looking for this functionality. Using Angular 15.

I tried changing the config's server_host at runtime and calling signIn() does direct to the specified server_host for logging in. However after being redirected back to the callback page, the wrong URL is being called for the well-known configuration endpoint and the login flow stops.