Comments (5)
Okay i think the purpose of check_path
is the same described here http://symfony.com/doc/current/reference/configuration/security.html ?
from silex-oauth.
So i changed the check_path
accordingly to the docs and now i get an error that the access token is not stored in session. From reading the code it should be set automagically. Any hints what i am missing ?
from silex-oauth.
Did you enable the SessionServiceProvider
?
from silex-oauth.
yea did that. I am using the SilexSessionProvider
but configured with storage \Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage
and as handler Symfony\Component\HttpFoundation\Session\Storage\Handler\MemcacheSessionHandler
In addition i am registering a AttributeBag
to store the session on app.session
.
When i do replace it by the default SilexSessionProvider
it does work.
Debugging on code shows me that the OAuthService
is using a different app.session
than i have registered.
from silex-oauth.
alright, i was able to track it down properly. Its related to the AttributeBag
. I will close the issue now because the main problem is solved from my POV and i will create a new one for the AttributeBag
thingy.
from silex-oauth.
Related Issues (20)
- Configure access type offline HOT 1
- Mapping/normalizing user endpoint HOT 1
- not compatible Silex 2.x HOT 4
- Compatibility with Silex 1.3 and symfony/form 2.4+ HOT 5
- Extend StabUser HOT 2
- Storage\SymfonySession is not aware of AttributeBag HOT 4
- Please create a new tag HOT 4
- Redirect to specified path? HOT 1
- Facebook Missing app_id HOT 1
- The readme is not clear on exactly how to configure HOT 2
- Question regarding the redirect_uri HOT 3
- Generated urls are relatives since symfony/routing 3.0 HOT 2
- Allow passing of additional authorization uri parameters HOT 2
- Unable to set different pattern for the protected area HOT 1
- Injecting parameters into OAuth services
- Not retrieving FB email with silex-oauth-demo HOT 1
- Question: how persist in database? HOT 1
- is there a way to get access token with username and password?
- Confused with Authentication 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 silex-oauth.