Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

authorizeWithCredentials in flutter W/System.err(11968): com.dropbox.core.InvalidAccessTokenException: {"error":{".tag":"expired_access_token"},"error_summary":"expired_access_token/"} #30

Open
fahadyousafxi opened this issue Jan 29, 2024 · 1 comment

Comments

@fahadyousafxi
Copy link

how can I check that the access token is expired?

W/ader.musicpanda(11968): Accessing hidden method Lcom/android/org/conscrypt/ConscryptEngineSocket;->setUseSessionTickets(Z)V (max-target-q,core-platform-api, reflection, denied)
W/ader.musicpanda(11968): Accessing hidden method Lcom/android/org/conscrypt/OpenSSLSocketImpl;->setUseSessionTickets(Z)V (max-target-q,core-platform-api, reflection, denied)
W/ader.musicpanda(11968): Accessing hidden method Lcom/android/org/conscrypt/AbstractConscryptSocket;->setUseSessionTickets(Z)V (max-target-q, reflection, denied)
W/ader.musicpanda(11968): Accessing hidden method Lcom/android/org/conscrypt/ConscryptEngineSocket;->setHostname(Ljava/lang/String;)V (max-target-q,core-platform-api, reflection, denied)
W/ader.musicpanda(11968): Accessing hidden method Lcom/android/org/conscrypt/OpenSSLSocketImpl;->setHostname(Ljava/lang/String;)V (max-target-q,core-platform-api, reflection, denied)
W/ader.musicpanda(11968): Accessing hidden method Lcom/android/org/conscrypt/AbstractConscryptSocket;->setHostname(Ljava/lang/String;)V (max-target-q, reflection, denied)
W/ader.musicpanda(11968): Accessing hidden method Lcom/android/org/conscrypt/OpenSSLSocketImpl;->setAlpnProtocols([B)V (max-target-q,core-platform-api, reflection, denied)
W/ader.musicpanda(11968): Accessing hidden method Lcom/android/org/conscrypt/AbstractConscryptSocket;->setAlpnProtocols([B)V (max-target-q, reflection, denied)
W/ader.musicpanda(11968): Accessing hidden method Lcom/android/org/conscrypt/OpenSSLSocketImpl;->getAlpnSelectedProtocol()[B (max-target-q,core-platform-api, reflection, denied)
W/ader.musicpanda(11968): Accessing hidden method Lcom/android/org/conscrypt/AbstractConscryptSocket;->getAlpnSelectedProtocol()[B (max-target-q, reflection, denied)
W/System.err(11968): com.dropbox.core.InvalidAccessTokenException: {"error":{".tag":"expired_access_token"},"error_summary":"expired_access_token/"}

@mlava
Copy link

mlava commented Mar 28, 2024

I need help with this as well.

AFAIK the PKCE auth flow on Android provides an access_token, refresh_token, expires_at while on iOS I only receive the access_token. I've tried lots of ways to see if I can get more data, but that seems to be it.

I then implement a authorizeWithAccessToken call on iOS but only ever get the same token back as the one I already have.

Is the developer of this extension still active? Has anyone got a working iOS setup? I have Android refreshing properly using the refresh_token but can't seem to get it from the API call on iOS...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants