Closed chriskacerguis closed 3 years ago
Hello @ricardosaracino thanks again for your lib. I solved the issue.
For anyone who is comes across this from Google, when using Okta as the SSO provider, you need to change
export const User = createParamDecorator((data, req) => req.user);
to this
export const User = createParamDecorator((data, req) => req.args[0].user.nameID);
in user.decorator.ts
Hello ricardo, thanks a lot for this repos, it was a big help to me. I put your example code into my app, and it seemed to be working fine, but on the redirect from my SAML provider I'm getting the following error:
I did some quick debugging, and added this:
So, I see in the output (before that error), the following:
so I know that
serializeUser
is getting called. Would you happen to be able to provide any tip on what I could be doing wrong?Thanks!