Option to check JWT Signature (#183)
This commit is contained in:
parent
2a33f67155
commit
27225cfe86
@ -106,10 +106,12 @@ sub extractFormInfo {
|
||||
$self->lmLog( "ID token: $id_token", 'debug' );
|
||||
|
||||
# Verify JWT signature
|
||||
if ( $self->{OIDCRPCheckJWTSignature} ) {
|
||||
unless ( $self->verifyJWTSignature($id_token) ) {
|
||||
$self->lmLog( "JWT signature verification failed", 'error' );
|
||||
return PE_ERROR;
|
||||
}
|
||||
}
|
||||
|
||||
# Get ID token content
|
||||
my ( $id_token_header, $id_token_payload, $id_token_signature ) =
|
||||
|
Loading…
Reference in New Issue
Block a user