mirror of
https://github.com/zitadel/zitadel.git
synced 2025-06-18 09:28:43 +00:00
docs: add mocksaml for saml sp example (#7355)
Co-authored-by: Fabi <fabienne@zitadel.com>
This commit is contained in:
parent
104034c628
commit
35c313c691
65
docs/docs/guides/integrate/identity-providers/mocksaml.mdx
Normal file
65
docs/docs/guides/integrate/identity-providers/mocksaml.mdx
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
---
|
||||||
|
title: Configure MockSAML as an Identity Provider in ZITADEL
|
||||||
|
sidebar_label: MockSAML
|
||||||
|
id: mocksaml
|
||||||
|
---
|
||||||
|
|
||||||
|
import GeneralConfigDescription from './_general_config_description.mdx';
|
||||||
|
import Intro from './_intro.mdx';
|
||||||
|
import CustomLoginPolicy from './_custom_login_policy.mdx';
|
||||||
|
import IDPsOverview from './_idps_overview.mdx';
|
||||||
|
import Activate from './_activate.mdx';
|
||||||
|
import TestSetup from './_test_setup.mdx';
|
||||||
|
|
||||||
|
<Intro provider="MockSAML"/>
|
||||||
|
|
||||||
|
:::warning
|
||||||
|
MockSAML is not intended for any production environment, only for test purposes
|
||||||
|
:::
|
||||||
|
|
||||||
|
## MockSAML
|
||||||
|
|
||||||
|
### Download metadata
|
||||||
|
|
||||||
|
You can either download the metadata under [https://mocksaml.com/api/saml/metadata?download=true](https://mocksaml.com/api/saml/metadata?download=true) or skip this step and
|
||||||
|
fill in the URL when creating the SAML SP in ZITADEL.
|
||||||
|
|
||||||
|
## ZITADEL configuration
|
||||||
|
|
||||||
|
### Add custom login policy
|
||||||
|
|
||||||
|
<CustomLoginPolicy/>
|
||||||
|
|
||||||
|
### Go to the IdP providers overview
|
||||||
|
|
||||||
|
<IDPsOverview templates="SAML SP"/>
|
||||||
|
|
||||||
|
### Create a new SAML ServiceProvider
|
||||||
|
|
||||||
|
The SAML SP provider template has everything you need preconfigured.
|
||||||
|
Add the metadata.xml or the URL to the metadata which are accessible by you ZITADEL instance.
|
||||||
|
All the necessary configuration is contained in the metadata which has to be exchanged by the ServiceProvider and the IdentityProvider.
|
||||||
|
|
||||||
|
<GeneralConfigDescription provider_account="SAML account" />
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### Download metadata
|
||||||
|
|
||||||
|
Normally, you would need to download the ServiceProvider metadata from ZITADEL to upload to the IdentityProvider.
|
||||||
|
They are available under [https://{CUSTOMDOMAIN}/idps/{ID of the provider in ZITADEL}/saml/metadata], but this step can be skipped due to the fact that MockSAML is only for testing purposes.
|
||||||
|
|
||||||
|
### Activate IdP
|
||||||
|
|
||||||
|
<Activate/>
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## Test the setup
|
||||||
|
|
||||||
|
<TestSetup loginscreen="your SAML SP login"/>
|
||||||
|
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
@ -293,6 +293,7 @@ module.exports = {
|
|||||||
"guides/integrate/identity-providers/migrate",
|
"guides/integrate/identity-providers/migrate",
|
||||||
"guides/integrate/identity-providers/okta",
|
"guides/integrate/identity-providers/okta",
|
||||||
"guides/integrate/identity-providers/keycloak",
|
"guides/integrate/identity-providers/keycloak",
|
||||||
|
"guides/integrate/identity-providers/mocksaml",
|
||||||
"guides/integrate/identity-providers/additional-information",
|
"guides/integrate/identity-providers/additional-information",
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
BIN
docs/static/img/guides/mocksaml_login.png
vendored
Normal file
BIN
docs/static/img/guides/mocksaml_login.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 44 KiB |
BIN
docs/static/img/guides/zitadel_activate_saml.png
vendored
Normal file
BIN
docs/static/img/guides/zitadel_activate_saml.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 24 KiB |
BIN
docs/static/img/guides/zitadel_login_saml.png
vendored
Normal file
BIN
docs/static/img/guides/zitadel_login_saml.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
BIN
docs/static/img/guides/zitadel_saml_create_provider.png
vendored
Normal file
BIN
docs/static/img/guides/zitadel_saml_create_provider.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 69 KiB |
Loading…
x
Reference in New Issue
Block a user