secretOrPrivateKey must have a value

I am trying to login with Facebook OAuth2 account. It was working fine. But after sometime, I am getting this error.

I am also using Security provider for login.

What did you find out on this? Similar issue with custom OAuth

Solved - had to edit in code view was setup as jwt