Commit Graph

5 Commits

Author SHA1 Message Date
Darius Kazemi 667cbb97ed Adding scope field to generic OAuth
Some OAuth providers (like Mastodon) do not use the default
"read_user" scope, instead offering a custom scope. The config.ini
for generic OAuth now contains a "scope" field, allowing the admin
to set the scope manually (it defaults to "read_user" if blank).
2020-10-12 20:54:48 -07:00
Matt Baer 95273697f4 Use consistent server User-Agent across application 2020-08-18 12:22:04 -04:00
Keturah Dola-Borg 211d441090 Fix capitalisation of OAuth in display name
Signed-off-by: prichier <pascoualito@gmail.com>
2020-05-31 00:20:27 +02:00
Keturah Dola-Borg 7b71d455a8 Apply go fmt
Signed-off-by: prichier <pascoualito@gmail.com>
2020-05-31 00:20:21 +02:00
Keturah Dola-Borg 75ca5cd417 Add generic oauth module
Signed-off-by: prichier <pascoualito@gmail.com>
2020-05-30 23:59:02 +02:00