I have Angular app as a client and I use oidc-client library to provide OpenId Connect protocol. For now, client settings it's just a constant. Does enyone knows how to get client configuration from server using http-get request?
When I try to do this inside constructor I'm getting cyclic-dependency error or maybe there are some tricks...I don't know..
export class AuthService {
private manager: UserManager;
constructor() {
// tried to do it here...
this.manager = new UserManager(settings);
this.manager.getUser(.........);
}
}
Thanks a lot!