Comments (2)
It's been a while so I'm closing this. Feel free to reopen and ping me if you still have questions.
from hwioauthbundle.
I also see this
In security.yml:
firewalls:
main:
pattern: ^/
anonymous: true
oauth:
resource_owners:
bespokify: "/api/oauth/login/check-bespokify"
login_path: /api/oauth/login
check_path: login_check
use_forward: false
failure_path: /api/oauth/login
default_target_path: /api/doc
oauth_user_provider:
service: my_user_provider
logout:
path: /api/oauth/logout
target: /api/oauth/login
Then config.yml
hwi_oauth:
connect:
account_connector: my_user_provider
firewall_name: main
resource_owners:
bespokify:
type: oauth2
client_id: 6_2v1twgv5je0wowkc0c8wogswowco8sck48oc8gsssg0wscg0cs
client_secret: 2pl9kuxd6im8ooc0gckows08cwo8o0kc4o4koosw0csg0kocws
access_token_url: http://bespokify.server.local/app_dev.php/oauth/v2/token
authorization_url: http://bespokify.server.local/app_dev.php/oauth/v2/auth
infos_url: http://bespokify.local/app_dev.php/api/user
scope: user
user_response_class: HWI\Bundle\OAuthBundle\OAuth\Response\PathUserResponse
paths:
identifier: id
nickname: username
realname: fullname
fosub:
username_iterations: 30
properties:
bespokify: bespokifyID
and service.yml
parameters:
my_user_provider.class: Bespokify\UserBundle\Provider\FOSUBUserProvider
services:
my_user_provider:
class: "%my_user_provider.class%"
arguments: [@fos_user.user_manager,{bespokify: bespokifyId}]
=> the custom bespokify response never goes through the
FOSUBUserProvider->loadUserByOAuthUserResponse. I made a mistake somewhere? Thank
from hwioauthbundle.
Related Issues (20)
- RefreshTokenListener calls resourceOwner::getUserInformation on each request
- OAuth for Apple using auto-generating secret IDs is broken HOT 1
- Add support Discord Oauth2 HOT 1
- when this bundle will be available for symfony 6.2? HOT 2
- LinkedIn Auth - Reminder about access and refresh token requests after June 30, 2023 HOT 2
- Version for PHP 8.1 HOT 1
- Deprecation warnings HOT 1
- Issue with https configuration. Keeps redirecting to http HOT 1
- 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
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.