I’m getting the following error when trying to fetch information about the logged in user after creating a new 8base authentication profile:
"Unknown iss claim in authorization token. Unable to find authentication profile with discovery endpoint https://8baseapp.auth0.com/."
Login works fine and I made sure that the idToken I get from the userLogin is correctly being passed in the authorization header. This same flow was working with the previous authentication profile I had, but it started breaking with the new one.
I thought the problem might be that the user was created with a different authentication profile, but I’m running into the same issue with newly created users. Am I missing something obvious? I can consistently reproduce on my project by doing this:
Create a new authentication profile
Create a new user under that profile using the userSignUpWithPassword mutation
Login with that user using userLogin
Pass the idToken from the login mutation to the authorization header and fetch that user’s info using the user query
@sebastian.scholl any follow-up on this one? I also found similar error when trying to add google login which integrated with firebase (difference only on the endpoint url).
I am still experiencing the issue with the steps I described above. I’m using the id token I get from the userLogin mutation and am able to decode it correctly on the frontend, but I get Unknown iss claim in authorization token. Unable to find authentication profile with discovery endpoint https://8baseapp.auth0.com/. when making requests to 8base with it.
It’s possible that I’m missing something, but I’m not really able to do any troubleshooting on my side. Authentication is also working fine when I connect my own Auth0 account, it’s just not working with the 8base one.
I’m also running to the same error. I’m using firebase integration, which was working well before (like what I mentioned days ago), but then the error occurred since last Thursday, and haven’t been fixed until now. I’m using the same id token that works before.
We’re doing some work on our authentication currently. I’d highly recommend using your own Auth0 in the meantime.
That said, I ran through the steps this weekend of getting auth working and was able to do so successfully. Can you please share more about your configuration for handling auth? It looks like everyone is correctly setting the Authorization: Bearer <token>, however I’m not seeing anything on how the user is getting authenticated or the auth module being initialized.