saml
saml copied to clipboard
Fix logger and service providers fields initialization
The logger and serviceProviders fields of samlidp.Server object are not exported and therefor cannot be initialized when not using the default func New(opts Options) (*Server, error) ,
The fix include two things:
- Added InitializeLogger(..) function so logger can be initialized
- Added check for nil map before adding new serviceProvider which will initialized the map if needed.
Hi @crewjam, any feedback on this will be much appreciated. thanks