udibo / oauth2_server

A standards compliant implementation of an OAuth 2.0 authorization server with PKCE support.
MIT License
21 stars 4 forks source link

Allow number or BigInt client ids #31

Closed KyleJune closed 3 years ago

KyleJune commented 3 years ago

Closes https://github.com/udibo/oauth2_server/issues/30

On the server side, we don't need to strictly limit the client id type to string. We just need to allow the client id to be string. For comparisons, client id values will first be converted to strings. If using a number or BigInt client id value, your client service get methods should accept both strings and the type of your client ids.