ramosbugs / openidconnect-rs

OpenID Connect Library for Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to get ID Token in JWT format from gitlab example?

overheat opened this issue · comments

FYI.

Thanks

I saw signing_input in IdToken, but it only header +.+ payload.
How can I get the whole JWT ID token with header, payload and signature.

IdToken implements the ToString trait, so you can just do id_token.to_string() to get the raw JWT.