oauth-4-laravel icon indicating copy to clipboard operation
oauth-4-laravel copied to clipboard

Using Laravel Session

Open samvasko opened this issue 11 years ago • 5 comments

This package should probably be using session driver configured inside of app/config/session.php and not have separated configuration. For the benefit of flexibility and maintenance.

This means that OAuth\Common\Storage\TokenStorageInterface should be implemented using Illuminate\Session\Store

I will start poking into it now and see what I can come up with. What do you think?

samvasko avatar Apr 18 '14 09:04 samvasko

Hi @bliker did you manage to solve this?

sdeering avatar Aug 01 '14 05:08 sdeering

+1. Confusing with the two separate configs

ashleydw avatar Aug 01 '14 08:08 ashleydw

I have just implemented a rough version of this here:https://github.com/ashleydw/oauth-4-laravel/commit/cb4018054e0f0a617c84343e81949c49fec62970

I wouldn't suggest cloning my repo as I have bespoke requirements in there for other things, but you can take the commit out

no promises it works fully:)

ashleydw avatar Aug 01 '14 09:08 ashleydw

@sdeering Yep I did. Check out pull request on this repo. There is also another one from somebody else. My repo is here

samvasko avatar Aug 05 '14 10:08 samvasko

@bliker thanks mate.

sdeering avatar Aug 06 '14 00:08 sdeering