Skip to content

Commit cf5bede

Browse files
committed
Set EntityID to be root.String()
1 parent d8b34ef commit cf5bede

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/sp/sp.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ func NewServiceProvider(cert, key string, metadata interface{}, root *url.URL, m
7676
// samlsp options
7777
opts := samlsp.Options{
7878
URL: *root,
79+
EntityID: root.String(),
7980
Key: keyPair.PrivateKey.(*rsa.PrivateKey),
8081
Certificate: keyPair.Leaf,
8182
IDPMetadata: idpMetadata,

0 commit comments

Comments
 (0)