Reputation: 4018
I'm using Firebase Admin SDK to get registered users to my Spring boot app this worked fine previous days ago
UserRecord userRecord = FirebaseAuth.getInstance(FirebaseApp.getInstance()).getUserByPhoneNumber(phoneNumber);
But suddenly I'm receiving this FirbaseAuthExcetpion
com.google.firebase.auth.FirebaseAuthException: Unknown error while making a remote service call: Unexpected error refreshing access token
Can you help me with this exception. Thank you
Upvotes: 1
Views: 2953
Reputation: 4018
The issue was a dependency conflict of com.google.guava
library, in my case Swagger has been using old a version of Guava, so I had to add exclusion for Swagger Guava library
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger2</artifactId>
<version>${springfox-swagger2.version}</version>
<exclusions>
<exclusion>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</exclusion>
</exclusions>
</dependency>
Upvotes: 4