I am trying to integrate Okta signing for a prototype i’m building at work. I got it working following this guide: https://developer.okta.com/blog/2017/03/30/react-okta-sign-in-widget
(although i did have to use 1.7 via this bug https://github.com/okta/okta-signin-widget/issues/215)
My question is… how do i integrate this with meteor accounts? after signing, i get back a response object with a lot fields and IDs like: email address, nonce, jti, idp, sub, aud, and and idToken. if this is someone’s first time logging in to the meteor app, how do i use this Okta information and the accounts module to verify them in the app?
I wanted to see if there was a best practice here other than manually checking for an account on response and using the id token or other field as a password to log them in. if anybody has done this before i’d love to hear what the best method is or if there is already a package out there that would make this easier.