我正在使用预览技术的Oauth2客户端,但它显示无效的重定向网址。我使用的是来自https://github.com/previewtechnologies/oauth2-client的官方类库。以前有没有人遇到过这个问题?
发布于 2017-03-07 19:52:22
@imran,我来自Preview Technologies。您可以遵循我们的github自述文件,并查看
$provider = new \Previewtechs\Oauth2\Client\Provider([
'clientId' => '{previewtechs_client_id}', // The client ID assigned to you by Preview Technologies
'clientSecret' => '{previewtechs_client_secret}', // The client secret assigned to you by Preview Technologies
'redirectUri' => '{your_redirect_url}'
]);但是如果不起作用,那么你需要告诉我们让你的重定向网址加入白名单。
https://stackoverflow.com/questions/42647571
复制相似问题