Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Ecdsa keys as oauth2 server #1291

Open
shyim opened this issue Aug 11, 2022 · 2 comments
Open

Allow Ecdsa keys as oauth2 server #1291

shyim opened this issue Aug 11, 2022 · 2 comments

Comments

@shyim
Copy link

shyim commented Aug 11, 2022

Currently, the algo is hard-coded here https://github.com/thephpleague/oauth2-server/blob/master/src/Entities/Traits/AccessTokenTrait.php#L47

Switching it does not work in any case, but you get at least a key. Verifiying seems also hard-coded somewhere

@Sephster
Copy link
Member

Thank you. This implementation is hopefully just a stop gap until we drop PHP 7 support all together. I will flag this for addressing in the next major.

@mostafa-rz
Copy link

mostafa-rz commented Sep 27, 2022

I think the verifying also takes place in this method:

private function initJwtConfiguration()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants