Comments (5)
What do you mean with what kind of key is required?
from hwioauthbundle.
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.
Well, that url is currently one time only for security matters. You shouldn't need to do anything with the key yourself?
from hwioauthbundle.
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.
Ah ok. :) Glad you found out. I hope I have time to complete the docs some day.
from hwioauthbundle.
Related Issues (20)
- AzureResourceOwner and OID HOT 1
- hwi/oauth-bundle 2.0.0 conflicts with symfony/security-bundle >=6.0,<6.3.4. HOT 1
- How to register a user without FOSUB (Symfony 6)? HOT 2
- Guidance on runtime dynamic Resource Owner configuration HOT 3
- Support for php-http/httplug-bundle? HOT 1
- How to use user entity provider HOT 3
- Has EntityUserProvider ever worked? HOT 1
- [2.x] Resource owner custom logic HOT 3
- symfony 7
- Compliance to digital privacy laws in Germany and the EEA of Identity Authentication for malicious purposes
- 2.x not compatible with \Symfony\Component\Security\Http\Authentication\AuthenticatorManager::authenticateUser HOT 2
- Update Facebook API version HOT 1
- Incorrect provider in docs? HOT 1
- Connect functionality is broken when using authenticators (Symfony 6+)
- Best practice to handle access token for API requests after login HOT 3
- Since 2.2.0 firewalls failure_handler gets overriden HOT 2
- All custom resource owners have the same login_path when setting enable_authenticator_manager to true HOT 2
- User registration if not exist, without filling the form
- Neither the property "username" exist in class "App\Entity\User". HOT 5
- How to disable default login route HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hwioauthbundle.