Skip to content

Commit

Permalink
Adds allowCreate documentation (#540)
Browse files Browse the repository at this point in the history
- credit to https://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf for language
- option was made configurable in #363
  • Loading branch information
sunsheeppoplar authored Jun 3, 2024
1 parent 56ba6e6 commit 57fe4ab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/sp-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ const sp = new ServiceProvider({

#### Optional Parameters

- **allowCreate: Boolean**<br/>
Declare if identitiy provider is allowed, in the course of fulfilling the request, to create a new identifier to represent the principal, default to `false`

- **loginRequestTemplate: {context: String, attributes: Attributes}**<br/>
Customize the login request template, and user can reuse it in the callback function to do runtime interpolation. (See [more](/template))

Expand Down

0 comments on commit 57fe4ab

Please sign in to comment.