Giter Club home page Giter Club logo

Comments (6)

cristiandouce avatar cristiandouce commented on June 16, 2024

@glena could you copy at least here the complete redirect example of custom signup?

from docs.

glena avatar glena commented on June 16, 2024

@cristiandouce: I think we just need to add a brief description of what is needed to change in you want another approach and most common issues.

IE:

  • remove the callback of the login call if you want to be redirected
  • set window.lock.getClient()._callbackOnLocationHash to false if you want to use the 'code' workflow
  • setup the callback and allowed origin (CORS) domains in the app

Anyway, I will update it as soon I finish another thing. It was to avoid forget updating the doc.

from docs.

glena avatar glena commented on June 16, 2024

@cristiandouce do you think it is clear? (check the notes section at the end)

https://github.com/auth0/docs/blob/update-custom-signup/content/custom-signup.md

from docs.

woloski avatar woloski commented on June 16, 2024

do you know @rolodato work on this?

from docs.

rolodato avatar rolodato commented on June 16, 2024

This is the example using APIv2 I was making: https://github.com/auth0/auth0-custom-signup-apiv2-sample

However, we discussed this with @dschenkelman and the greatest issue we found is that user signups are not atomic. It requires two requests, and if the second one fails it can leave the user in an inconsistent state.

Adding custom fields (passed to user_metadata) in /dbconnections/signup could work, and it's a first step for when we add extensibility on signups.

from docs.

glena avatar glena commented on June 16, 2024

@rolodato The idea is to make clear how it works with the redirect flow.

Added:

  • Redirect with hash for SPA
  • Redirect with code for server side webapps

APIv2 is another thing.

from docs.

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.