I am using oidc-client with angular 7, and I want to enable logging. The doc suggests that I can do the following
Oidc.Log.logger = console;
I have not been able to make this work as Oidc does not appear to be on the window object??
Just add this to your code
Log.logger = console;
Log.level = Log.DEBUG;
and the correct import
import { Log } from 'oidc-client';
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With