krz/hutch

an ios client for sourcehut

clone: git clone https://gitbay.org/krz/hutch.git

0b93fb3cd7613a2befeebb94b41d051b70f6da28

signed_email_mismatch · cmc

author: Chris DeLuca <code@chrisdeluca.me> · 2026-05-04T18:39:01Z
committer: <hello@cleberg.net>

Fix broken personal access token link
 Hutch/Views/Auth/AuthView.swift | 2 +-
 README.md                       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Hutch/Views/Auth/AuthView.swift b/Hutch/Views/Auth/AuthView.swift
index d114981..91534b0 100644
--- a/Hutch/Views/Auth/AuthView.swift
+++ b/Hutch/Views/Auth/AuthView.swift
@@ -3,7 +3,7 @@ import SwiftUI
 /// Token entry screen shown when the user is not authenticated.
 struct TokenEntryView: View {
     private let createAccountURL = URL(string: "https://meta.sr.ht/register")!
-    private let personalAccessTokensURL = URL(string: "https://meta.sr.ht/oauth/personal-access-tokens")!
+    private let personalAccessTokensURL = URL(string: "https://meta.sr.ht/oauth2/personal-token")!
 
     @Environment(AppState.self) private var appState
     @State private var token = ""
diff --git a/README.md b/README.md
index 1d8b938..c81a7c4 100644
--- a/README.md
+++ b/README.md
@@ -44,7 +44,7 @@ Some SourceHut services are still browser-only from within Hutch. Unsupported ar
 
 You can create a token at:
 
-- `https://meta.sr.ht/oauth/personal-access-tokens`
+- `https://meta.sr.ht/oauth2/personal-token`
 
 ## Using Hutch