HomeMusing Studio

Generic OAuth userinfo properies now configurable

Description

Generic OAuth userinfo properies now configurable

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.

Details

Provenance
Darius Kazemi <darius.kazemi@gmail.com>Authored on Oct 22 2020, 7:15 PM
Parents
rWF3493921837b1: Merge pull request #402 from dariusk/dariusk/mastodon
Branches
Unknown
Tags
Unknown

Event Timeline

Darius Kazemi <darius.kazemi@gmail.com> committed rWF0aafd0c36837: Generic OAuth userinfo properies now configurable (authored by Darius Kazemi <darius.kazemi@gmail.com>).Oct 22 2020, 7:15 PM