How to map refresh token, stored server side in the client app, to a specific user?

My app so far was using only access tokens. And whenever the token expired, the user had to log-in again. That’s the reason I want to start using refresh tokens. They can apparently be stored server side in the client app as written here, … Continue reading How to map refresh token, stored server side in the client app, to a specific user?

Is it okay to use an expired access token to look up its corresponding refresh token?

setup
I have inherited this infrastructure setup

app A handles the frontend. The server is very small and it mainly just calls app B.
app B is an API server. It’s both a resource server and the gateway for oauth (which I feel is not ideal… Continue reading Is it okay to use an expired access token to look up its corresponding refresh token?

Is accessing bank transactions via Android spending details management Android apps safe? [closed]

I would like to ask whether accessing bank transactions via Android spending details management Android apps is safe.
In particular, I would like to know, apart from the fact that exchanges with bank servers occur via tokens and encryption… Continue reading Is accessing bank transactions via Android spending details management Android apps safe? [closed]

Please review the token_exchange delegation flow implementation draft I have put together? [closed]

I am trying to understand the complete flow and I have put together an implementation draft.
Please forgive any silly mistakes.
Here’s the draft:
https://github.com/arjunballa/api-security/blob/main/token-exchange-delegation-flow.md

Continue reading Please review the token_exchange delegation flow implementation draft I have put together? [closed]

Bearer token in header as Basic token? – Does that violate the RFC6749 spec?

In a header you can have—for example—"Authorization: Basic " xor "Authorization: Bearer ".
If I use my Bearer token as Basic, then can this endpoint double as a give me fresh tokens for this access token"?
https://… Continue reading Bearer token in header as Basic token? – Does that violate the RFC6749 spec?

Is it safe to pass Google ID tokens to third-party services for user authentication?

I’m working on an app called AwesomeApp that uses Google Sign-In for user authentication. When users sign in, the app receives a Google ID token.
We are integrating with a third-party service, ScoreboardService, which also needs to identif… Continue reading Is it safe to pass Google ID tokens to third-party services for user authentication?