mirror of
https://github.com/davidallendj/opaal.git
synced 2025-12-20 03:27:02 -07:00
Fixed IDP endpoint overrides not working correctly
This commit is contained in:
parent
67683e9fca
commit
e940dc2dd9
5 changed files with 29 additions and 18 deletions
|
|
@ -22,7 +22,7 @@ var serveCmd = &cobra.Command{
|
|||
s := opaal.NewServerWithConfig(&config)
|
||||
// FIXME: change how the server address is set with `NewServerWithConfig`
|
||||
s.Server.Addr = fmt.Sprintf("%s:%d", s.Issuer.Host, s.Issuer.Port)
|
||||
err := s.StartIdentityProvider(endpoints)
|
||||
err := s.StartIdentityProvider()
|
||||
if errors.Is(err, http.ErrServerClosed) {
|
||||
fmt.Printf("Identity provider server closed.\n")
|
||||
} else if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue