Hi again!! Im having some troubles with the Firebase OpenId Authentication, when I set it up works fine, my user is saved in the database, but after some time this connection between firebase and 8base just stops, and the users are saved into firebase but not into 8base then I need to either create a new Auth profile or “edit” the old one with the same info that was before.
If it helps, when I inspect the XHR request I receive the following error: “Unknown iss claim in authorization token. Unable to find authentication profile with discovery endpoint https://securetoken.google.com/example”
We’ve discovered the problem with caching/updating Google public keys used for parsing id token on our side.
To make it short: public keys are being refreshed, but we don’t update it and get cached one. So when you update your authenticationProfile we get a new one.
The temporary workaround for you till we fix the issue: trigger authenticationProfileUpdate mutation when you get following error Unknown iss claim in authorization token. Unable to find authentication profile with discovery endpoint
We’re working on fix. We’ll definitely let you know when it’s ready.
Quick update. We have engineering looking into this next week. We’ll look to get it resolved, tested, and released ASAP. I’ll post back here with udpate.
@gabriel.espinoza Since we haven’t heard back from you we’re assuming this workaround worked and we’re going to put the permanent fix in one of our upcoming releases.
Hi Timothy,
Thanks for looking into this. When can we expect the permanent fix to be released? I’m still having this issue, the only way around it for now is to update the Authentication Profile when it’s not working.