Developer Resources
Everything you need to integrate Login Link into your application quickly and securely.
Quickstart
Choose your stack and follow the steps to start authenticating in minutes.
.NET SDK
dotnet add package WebSvc.LoginLink.SDK- Configure your
appsettings.jsonwithClientIdandClientSecret. - Call
LoginLinkClient.AuthorizeAsync()to start the OAuth flow.
JavaScript (Browser)
- Include the widget:
<script src="https://cdn.jsdelivr.net/gh/web-svc/configs@refs/heads/main/loginlink/widget.js"></script> - Initialize:
LoginLink.init({ clientId: 'YOUR_CLIENT_ID', redirectUri: 'https://yourapp.com/auth/callback', scope: 'openid email profile', responseType: 'code', onLoginStart: (url) => console.log("Redirecting to", url), onLoginError: (err) => alert("Login failed: " + err.message) }); - Trigger login:
LoginLink.login();
Code Samples
Explore our GitHub repo for complete examples: