leo108
leo108
`session_destroy(): Session object destruction failed` 这个错误是哪个端报的?server 还是 client
目测是 client 端 phpCAS 的问题,和 server 端无关
`phpCAS::getAttributes()`
使用的是 V3 协议吗?
Did you do the logout action at the client site? If yes it will log you out at server side too.
Any screenshot?
please check https://github.com/leo108/php_cas_server_oauth_weibo for reference
Put this code in `App\Providers\AppServiceProvider::register` ``` $this->app->bind( 'cas.server.weibo', function () { return (new Overtrue\Socialite\SocialiteManager( [ 'weibo' => [ 'client_id' => 'your-app-id', 'client_secret' => 'your-app-secret', ], ] ))->driver('weibo'); } ); ```...
@rikakomoe just set `redirect` to an empty string should fix this problem, we will call `redirect()` method with final callback url [here](https://github.com/leo108/php_cas_server_oauth_weibo/blob/master/src/Plugins/WeiboPlugin.php#L41).
@rikakomoe yes you are right, add a `callback` parameter to `getOAuthUser` method is a solution, I'll handle this.