You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -477,6 +477,23 @@ json_data_file.close()
477
477
auth = OneLogin_Saml2_Auth(req, settings_data)
478
478
```
479
479
480
+
#### Metadata Based Configuration
481
+
482
+
The method above requires a little extra work to manually specify attributes about the IdP. (And your SP application)
483
+
484
+
There's an easier method -- use a metadata exchange. Metadata is just an XML file that defines the capabilities of both the IdP and the SP application. It also contains the X.509 public key certificates which add to the trusted relationship. The IdP administrator can also configure custom settings for an SP based on the metadata.
485
+
486
+
Using ````parse_remote```` IdP metadata can be obtained and added to the settings withouth further ado.
If the Metadata contains several entities, the relevant EntityDescriptor can be specified when retrieving the settings from the IdpMetadataParser by its Entity Id value:
0 commit comments