ramosbugs / openidconnect-rs

OpenID Connect Library for Rust
MIT License
404 stars 100 forks source link

CoreJsonWebKey::new_ec() and CoreJsonWebKey::new_okp() require private type as argument #182

Closed avtrujillo closed 1 month ago

avtrujillo commented 1 month ago

Both of these require you to pass in a CoreJsonCurveType, which is private. It is declared as public within the crate::core::jwk module, but is not re-exported by crate::core. I assume this is unintentional, since new_ec() and new_okp() are both public.

ramosbugs commented 1 month ago

This indeed looks like an oversight!