mirror of
https://github.com/writefreely/writefreely
synced 2024-11-28 11:30:18 +00:00
0aafd0c368
When connecting to a generic OAuth provider, you are never sure what object you'll be receiving from the userinfo endpoint (it isn't actually specified anywhere). So this commit adds mapping values to the generic oauth configuration section of config.ini, allowing the user to specify which keys in the remote endpoint it expects to read the UserID, Username, DisplayName, and Email from. Default values if unspecified remain as they were before this commit. |
||
---|---|---|
.. | ||
config.go | ||
data.go | ||
funcs.go | ||
setup.go | ||
validation.go |