diff options
author | 2023-02-18 16:47:42 +0100 | |
---|---|---|
committer | 2023-02-18 16:47:42 +0100 | |
commit | 59b2e1078708e212f160c9164a8c623609cdaf39 (patch) | |
tree | 815980fae68d479c1ec6f4a7e091db6d61703774 /internal/oauth/server.go | |
parent | [chore] update gruf's libs on readme (#1520) (diff) | |
download | gotosocial-59b2e1078708e212f160c9164a8c623609cdaf39.tar.xz |
[bugfix] fix oob token route, update templates+css for oob and errors (#1519)
Diffstat (limited to 'internal/oauth/server.go')
-rw-r--r-- | internal/oauth/server.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/oauth/server.go b/internal/oauth/server.go index c4e2f6bf3..082a2c8fa 100644 --- a/internal/oauth/server.go +++ b/internal/oauth/server.go @@ -53,7 +53,7 @@ const ( // OOBURI is the out-of-band oauth token uri OOBURI = "urn:ietf:wg:oauth:2.0:oob" // OOBTokenPath is the path to redirect out-of-band token requests to. - OOBTokenPath = "/oob" + OOBTokenPath = "/oauth/oob" // #nosec G101 else we get a hardcoded credentials warning // HelpfulAdvice is a handy hint to users; // particularly important during the login flow HelpfulAdvice = "If you arrived at this error during a login/oauth flow, please try clearing your session cookies and logging in again; if problems persist, make sure you're using the correct credentials" |