Code Monkey home page Code Monkey logo

Comments (9)

karmanya007 avatar karmanya007 commented on June 12, 2024

I can take this one.

from developer-authentication-demos.

ashish8947 avatar ashish8947 commented on June 12, 2024

Hello, @karmanya007 Thanks for your interest Please feel free to create a demo and let us know here once you raise a PR.

Also please go through https://www.loginradius.com/engineering/page/hacktoberfest2020 to get free swags from LoginRadius as well.
Happy Coding :)

from developer-authentication-demos.

karmanya007 avatar karmanya007 commented on June 12, 2024

👍

from developer-authentication-demos.

karmanya007 avatar karmanya007 commented on June 12, 2024

@ashish8947 After successful authentication, what should be the return url. Is it the profile.html page?

from developer-authentication-demos.

ashish8947 avatar ashish8947 commented on June 12, 2024

@karmanya007
Yes, after successful authentication you can show the user profile. For more information, you can check out our sample demo.

from developer-authentication-demos.

pareek-naren avatar pareek-naren commented on June 12, 2024

@karmanya007
In General, return_url can be any URL where you want to handle the token and get the profile using sdk and display/utilize profile data as per the requirement. Also need to whitelist the domain (URL) in LoginRadius Dashboard under configuration -> Domain Whitelisting.

In case of our authentication demos, we've already created the frontend theme for this:
so the return URL will be http://localhost:3000 in this case and you'll get the token here after successful authentication: http://localhost:3000?token=<access token>.

As @ashish8947 mentioned, Sample demo is here

Note: By default http://localhost would be whitelisted in LoginRadius Dashboard under configuration -> Domain Whitelisting.

from developer-authentication-demos.

karmanya007 avatar karmanya007 commented on June 12, 2024

Done!!

from developer-authentication-demos.

karmanya007 avatar karmanya007 commented on June 12, 2024

PR Opened.

from developer-authentication-demos.

karmanya007 avatar karmanya007 commented on June 12, 2024

I have also completed the wrapper in restify framework. If you could merge this PR, I would open a new one.

from developer-authentication-demos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.