mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 07:02:26 -05:00
[bugfix] fix oob token route, update templates+css for oob and errors (#1519)
This commit is contained in:
parent
83d8a44020
commit
59b2e10787
4 changed files with 29 additions and 22 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue