Skip to content

OAuth Refresh Token Flow: Is there a standard solution available? #98

@richardtop

Description

@richardtop

Hi, I'm using Get with CreateAPI and so far the solution is working great. I've actually been using a proprietary client based on your 2017y article earlier and implemented a custom OAuth token refresh flow.

In your 2022y article, you outlined another approach to use the Get Client Delegate to execute the refresh procedure:
https://kean.blog/post/new-api-client

I'm curious whether that's still the preferred approach to use with the Get client or whether there is an off-the-shelf solution, similar to https://github.com/OAuthSwift/OAuthSwiftAlamofire to be used.

If the method in the article is the preferred one, I think it would be good to incorporate it back into the Get documentation, so that it would be accessible from within this package.

This issue is an important one, as I think, OAuth is one of the most popular authentication methods out there and this library is likely to be used with it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions