Manually set ID Token in express-openid-connect SDK


I’m implementing custom login and sing up screens at my Express application.

I have “express-openid-connect” package imported to my application.
I know that this package automatically implements a login/signup screens and logout functionality for me, and gives me all the information about the logged user, setting all those informations inside the “req.oidc.user” property.

But i want to use my custom authentication pages, use the Resource Owner Password Flow to get the ID Token (and Access Token) and manually insert it to the SDK. Is that possible?

Thank you very much in advance.