bshaffer / oauth2-server-php

A library for implementing an OAuth2 Server in php
http://bshaffer.github.io/oauth2-server-php-docs
MIT License
3.26k stars 950 forks source link

How can i use PKCE to add code_challenge authentication #1065

Closed monguyenfdc closed 6 months ago

monguyenfdc commented 6 months ago

I haven't seen it mentioned in the documentation or I haven't found it anywhere, what I know is that PKCE has been added since version v1.14.0 Please guide me !

monguyenfdc commented 6 months ago

oh, in my file server.php write it $server->setConfig('enforce_pkce',true); $server->setConfig('use_openid_connect',true); $server->setConfig('issuer',''); it work to me