Skip to content

How can I implement refresh token mechanism in an GRPC android client? #6638

Description

@OhhhThatVarun

First of all, there are already two questions on the StackOverflow with this same kinda issue this and this which is kinda workaround, not an actual solution.

So there is a ClientInterceptor that is intercepting and attaching the header to the request so if the access token expired the server will respond with an UNAUTHENTICATED status but then how to recall the same method with new access token attached to it.
It is something like an authenticator which is used in retrofit here is the link.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions