markbates / markbates/goth

Support for iOS?

Open
#404 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
6.6k
Forks
631
PR merge metrics
No merged PRs in 30d

Description

Hello,

We currently use Goth for the web Oauth flow, but are porting our webapp to iOS with capacitor. Is there any way to configure Goth to work on mobile?

The web flow for Google requires an http redirect uri, so we can't trigger a redirect to an iOS universal link from Goth, e.g., can't open an app on redirect. Has anyone hit this issue? How did you work around it?

We've toyed with the idea of stepping through the Oauth flow on the iOS frontend and then passing the token back to our backend to validate a session and have goth complete the flow, but that seems a little awkward.

Do we just need to bite the bullet and use something completely different for mobile Oauth?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by reviewing Goth's web OAuth redirect handling and the iOS/Capacitor universal-link flow; determine whether mobile OAuth is supported or requires a different integration, then document a validated approach.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, ios
Domain
authentication, mobile-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.