0.0.3 • Published 4 years ago
@zanichelli/idp-login-component v0.0.3
IDP Login Component
This is the IDP Login Component.
Install
Download the package running this command:
yarn add @zanichelli/idp-login-component
Usage
Use in your html like this (test environment only):
<!DOCTYPE html>
<html dir="ltr" lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=5.0" />
<title>My App</title>
<!-- You need Zanichelli Albe WC to use this component -->
<link type="text/css" rel="stylesheet" href="https://unpkg.com/@zanichelli/albe-web-components/www/build/web-components-library.css" />
<script type="module" src="/build/idp-login-component.esm.js"></script>
<script nomodule src="/build/idp-login-component.js"></script>
</head>
<body>
<idp-login></idp-login>
</body>
</html>
Support
if you encounter CORS issues, make sure Zanichelli IDP allows requests from your Origin