Easy Social Media Login Authentication integrator

Overview

AuthJs

Easy Social Media Login Authentication integrator

authjs

CDN

authjs.min.js

https://cdn.jsdelivr.net/npm/@rohit-chouhan/authjs/authjs.min.js

authjs.js

https://cdn.jsdelivr.net/npm/@rohit-chouhan/authjs/authjs.js

Installation with NPM

$ npm install @rohit-chouhan/authjs

Documentation

Method Use
authjs.set('') First step of AuthJs, to Initilize AuthJs for Facebook Login
authjsinit() Function which will exicute automatically when login success
authjs.login() Exicute the code for Login with Facebook
authjs.logout() Logout Facebook from your Project
authjs.staus() Debug & Check Status of AuthJs
authget.obj Get data id, name, profile, accessToken

Example Code

<!DOCTYPE html>
<html>
    <head>
        <title>AuthJs Simple Page</title>
        <script src="https://cdn.jsdelivr.net/npm/@rohit-chouhan/authjs/authjs.min.js"></script>
    </head>
    <body>
        <script>
            //Set Facebook APP ID
            authjs.set("89017650134XXXX");

            //Manually Calling Function
            function authjsrun() {
                console.log(authget.id);
                console.log(authget.name);
                console.log(authget.profile);
                console.log(authget.accessToken);
            }

            //Auto Exicute When Login is Success
            function authjsinit() {
                alert("Welcome" + authget.name);
            }
        </script>
        <button onclick="authjsrun()">Get All Info</button>
        <button onclick="authjs.login()">Login</button>
        <button onclick="authjs.logout()">Logout</button>
        <button onclick="authjs.status()">Status</button>
    </body>
</html>

Developers

Rohit
Developed by Rohit Chouhan, MIT License

You might also like...

Software for the next generation of social media. https://gitlab.com/soapbox-pub/soapbox-fe

Software for the next generation of social media. https://gitlab.com/soapbox-pub/soapbox-fe

Soapbox FE Soapbox FE is a frontend for Mastodon and Pleroma with a focus on custom branding and ease of use. It's part of the Soapbox project. Try it

Dec 30, 2022

Lenster is a decentralized, and permissionless social media app built with Lens Protocol ๐ŸŒฟ

Lenster Decentralized, and permissionless social media app ๐ŸŒฟ lenster.xyz ยป Discord โ€ข Issues ๐ŸŒฟ About Lenster Lenster is a decentralized, and permissi

Jan 7, 2023

A social-media mock app for the ones who love to read - and maybe show it off

๐Ÿ‹ ๐Ÿณ Cachalote ๐Ÿณ ๐Ÿ‹ Share what you are reading and find people who also likes it - or not! What does it do? This app focuses on three main questions

May 22, 2022

A full fledged social media app for foodies :)

Foodzo Site is deployed on netlify : https://fooodzo.netlify.app/ and Server is deployed on heroku. This website is basically a social media for all t

Oct 1, 2022

A Lambda-Powered Social Media Tracker

A Lambda-Powered Social Media Tracker

A Lambda-Powered Social Media Dashboard Angular: the frontend application (= ./app) Terraform: to create our infrastructure (= ./infra) Precondition

May 14, 2022

A new social media site for Pokemon lovers, where you can connect with other Pokemon lovers and share messages.

A new social media site for Pokemon lovers, where you can connect with other Pokemon lovers and share messages.

PokeBook Description A new social media site for Pokemon lovers, where you can connect with other Pokemon lovers and share messages. Tools and Languag

Jun 18, 2022

An app for spinning up social media micro-platforms.

Note: This project is super early. It's not in a usable state at this point. Though I'm working on this full-time, and it's moving ahead at a fast pac

Oct 21, 2022

Probably the friendliest social media downloader.

Probably the friendliest social media downloader.

cobalt Sleek and easy to use social media downloader built on JavaScript. Try it out live: co.wukko.me! What is cobalt? Everyone is annoyed by the mes

Dec 30, 2022

This is a Google Chrome Extension which blocks social media sites.

This is a Google Chrome Extension which blocks social media sites.

Social Media Blocks (1.0.3) This is a Google Chrome Extension which blocks social media sites like Twitter: Facebook, Instagram, LinkedIn, WhatsApp, R

Dec 15, 2022
Owner
Rohit Chouhan
Software/JavaScript Engineer Deloitte
Rohit Chouhan
Base Rails app that includes login, social login, homepage, and basic model for serving as a scaffold app.

Rails7Base I created the Rails7Base as a scaffold application. Countless times, I had to create apps that must have the following features: Login syst

Chim Kan 14 Jul 2, 2022
This Application provides basic authentication features like you can register and create account and then login and access your profile.

Authentication API This Application provides basic authentication features like you can register and create account and then login and access your pro

Rohan Kulkarni 1 Jan 17, 2022
Sharerbox - Free, minimalist and lightweight JavaScript-based social-media sharer for websites

Sharerbox Free minimalist and lightweight JavaScript-based social-media sharer for websites. Version: 0.8.1 Description SharerBox is a free, minimalis

Juan Astudillo 3 Aug 22, 2022
A collection of social media strategies for remix-auth

Remix Auth Socials A collection of Remix Auth strategies for Oauth2 Social logins. ?? If you are interested in creating one of the planned strategies,

Tom Rowe 80 Jan 5, 2023
Lets you add a character to Hacker News links to add social media and OpenGraph previews for sharing on things like Slack or Twitter.

news.ycombinator1.com Lets you add a character to Hacker News links to add social media and OpenGraph previews for sharing on things like Slack or Dis

Ian Langworth โ˜  38 Sep 18, 2022
A health-focused app for users to be able to track workouts and nutritional data with a social media component to inspire friendly competition among the users.

A health-focused app for users to be able to track workouts and nutritional data with a social media component to inspire friendly competition among the users.

Jon Jackson 3 Aug 26, 2022
Chrome extension for replacing addictive and annoying features of various social media sites with inspirational quotes.

Saner Social Media Chrome extension for replacing addictive and annoying features of various social media sites with inspirational quotes. Saner Socia

Tobi Dalhof 9 Oct 4, 2022
Social media platform that hosts community-driven challenges where everyone can play and compete

Komo A social media platform that hosts community-driven challenges where everyone can play and compete. How To Install Komo TBA Preview Home Screen A

null 2 Jun 13, 2022
Updog is an open-source social media webapp intended to allow everyday people to share their thoughts in a welcoming community.

SE701-Updog Updog is an open-source social media webapp intended to allow everyday people to share their thoughts in a welcoming community. This proje

SE 701 Team 2 UoA 14 Apr 18, 2022