![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
All authorization needs solved in one modal window!
View Demo
·
Report Bug
·
Request Feature
Auth Modal is as easy as 1-2-3! Most developers can figure everything out just by looking at our examples 🤯 Please check them out in examples folder to see Auth Modal in action.
<head>
tag:<!-- Auth Modal Dependencies -->
<script src="https://unpkg.com/alpinejs" defer></script>
<script src="https://cdn.tailwindcss.com"></script>
<!-- Auth Modal -->
<script
src="https://cdn.jsdelivr.net/gh/tringug/auth-modal/src/auth-modal.js"
defer
></script>
Inside <head>
tag, define Auth Modal configuration:
<script>
window.authModal = {
adapter: "[ADAPTER_NAME]",
config: {
// Adapter-specific configuration
},
// If using Uauth
oauths: ["discord", "google"],
oauthSuccessUrl: window.location.origin + "/dashboard",
oauthErrorUrl: window.location.origin + "/login",
// If using Magic URL
magicUrlRedirect: window.location.origin + "/dashboard",
// If supporting password recovery
passwordRecoveryRedirect: window.location.origin + "/login",
};
</script>
We currently support a few adapters, and are looking forward expanding the selection.
Include Appwrite SDK into your <head>
tag:
<script src="https://cdn.jsdelivr.net/npm/appwrite@7.0.0"></script>
Update Auth Modal config:
window.authModal = {
adapter: "appwrite",
config: {
endpoint: "https://demo.appwrite.io/v1",
projectId: "authModal",
},
// Make sure to keep your existing configuration here
};
We are working hard on this adapter 🤖
We are working hard on this adapter 🤖
As simple as it gets!
<div x-data>
<!-- Enable Alpine.js with x-data -->
<button x-on:click="$store.authModal.open()">
<!-- Add button with action -->
Open Auth Modal
</button>
</div>
Distributed under the MIT License. See LICENSE for more information.
FAQs
Unknown package
We found that auth-modal demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.