Skip to content

Some questions regarding authentication.  #196

Description

@SupremeDeity

First of all, i have not used a reddit api before.

I want to create a reddit client as practice for creating flutter apps, the questions i have are:

  1. Can i just use "localhost:3000" for the redirect uri.
  2. The part in the example regarding fetching the auth code is left upto the user. I saw a closed issue regarding this which used uni_links and url_launcher. I am going to try using the webview plugin instead. Is this a good idea?
  3. How would i refresh my authentication? How do i check if my auth code expired? Do i just run the refresh method from auth.dart everytime my code expires?

Sorry that some of these come of as a bit noobish but i will keep experimenting and if possible provide a complete example after i am done for those that come looking for it afterwards.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions