Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Commit

Permalink
Merge pull request #158 from B77Mills/loginRedirectSupport
Browse files Browse the repository at this point in the history
Allow redirect prop to be passed into login form
  • Loading branch information
zarathustra323 authored Sep 29, 2021
2 parents 3932137 + 22c1dea commit d983573
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/marko-web-identity-x/components/form-login.marko
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ $ const { identityX } = req;
activeUser: user,
endpoints: identityX.config.getEndpoints(),
buttonLabels: input.buttonLabels,
redirect: input.redirect,
consentPolicy: get(application, "organization.consentPolicy"),
regionalConsentPolicies: get(application, "organization.regionalConsentPolicies"),
appContextId: identityX.config.get("appContextId"),
Expand Down
3 changes: 2 additions & 1 deletion packages/marko-web-identity-x/components/marko.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
},
"<marko-web-identity-x-form-login>": {
"template": "./form-login.marko",
"@button-labels": "object"
"@button-labels": "object",
"@redirect": "string"
},
"<marko-web-identity-x-form-logout>": {
"template": "./form-logout.marko"
Expand Down

0 comments on commit d983573

Please sign in to comment.