Open ahmadfadlydziljalal opened 7 months ago
/**
* @throws InvalidConfigException
*/
public function actionPublicKey()
{
/** @var Module $module */
$module = Yii::$app->getModule('oauth2');
return $module->getServer()
->getStorage('public_key')
->getPublicKey('some-client-id');
}
In doc:
Then , I wrote this action in a controller:
Thanks