android,kotlin2023. 5. 31. 09:09

[android]com.google.firebase.auth.FirebaseAuthInvalidCredentialsException: The custom token corresponds to a different audience 해결방법

 

auth

val auth = FirebaseAuth.getInstance()

signInWithCustomToken

 

token 제대로 만들지 않았다는건데...

 

나 같은 경우는 서버에서 custom token 만들어서 리턴 구현했다..

 

firebase custom token 만드는걸 서버에서 제공하는데... json 싱크가 맞지 않아서 문제가 생겼다..

 

앱과 서버상의 json이 동일해야 한다..

Posted by thdeodls85