Commit Graph

4 Commits

Author SHA1 Message Date
Paul Rodwell 88b0e2b825
callbackURL has fix location, rather than being a parameter. 2021-11-04 10:12:59 +00:00
Paul Rodwell 7eba6ba411
replacing eval() with function using property accessors 2021-11-02 18:56:21 +00:00
3wc 001def2fea Custom callback and user profile URLs for OAuth2
For parsing `oauth2_UsernameField` values like
`profile.preferred_username`, this makes use of `eval()` which is
generally Evil™, but I'm assuming that anyone with permission to edit
config.json likely has permission to make changes to the fedwiki source
code already anyway, so it's fragile rather than increasing a security
attack surface. An alternative would be using  a small function to look
up properties of the `params` / `profile` objects using the same
dotted-path notation.
2021-10-23 16:56:08 +02:00
3wc 5f2164cb12 Add generic OAuth support 2021-10-18 21:13:18 +02:00