GithubHelp home page GithubHelp logo

How to register a new user about hwioauthbundle HOT 5 CLOSED

hwi avatar hwi commented on May 17, 2024
How to register a new user

from hwioauthbundle.

Comments (5)

asm89 avatar asm89 commented on May 17, 2024

What do you mean with what kind of key is required?

from hwioauthbundle.

roelveldhuizen avatar roelveldhuizen commented on May 17, 2024

The route /registration/{key} requires a key. I quess it is the time stamp.

Everytime I, try to, pop the registration form Cannot register an account. Is thrown. I assumed it hat to do with the key. However, I added some, good old echo's



        if (!$connect || $hasUser || !($error instanceof AccountNotLinkedException) || (time() - $key > 300)) {
            // todo: fix this
            if(!$connect) echo '1';
            if(!($error instanceof AccountNotLinkedException)) echo '2';
            if($hasUser) echo '3';
            if((time() - $key > 300)) echo '4';
            throw new \Exception('Cannot register an account.');
        }

And it seems is false

from hwioauthbundle.

asm89 avatar asm89 commented on May 17, 2024

Well, that url is currently one time only for security matters. You shouldn't need to do anything with the key yourself?

from hwioauthbundle.

roelveldhuizen avatar roelveldhuizen commented on May 17, 2024

Ah! I know what I did wrong.

    connect: ~

Was not in my configuration and thus registration, via connect went wrong. I, therefore, started to search for using the registration directly. Which I should not have done ;-)

from hwioauthbundle.

asm89 avatar asm89 commented on May 17, 2024

Ah ok. :) Glad you found out. I hope I have time to complete the docs some day.

from hwioauthbundle.

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.