PublicShow sourceauth_stackoverflow.pl -- Enable login with stackexchange

This module allows for configures _login with Stack exchange. To enable this module:

  1. Follow these steps to register your application on Stack Apps. Get the following info:
  2. COPY this file to config-enabled
  3. EDIT the server attributes
Source oauth2:server_attribute(?ServerID, ?Attribute, ?Value)[multifile]
Declare properties of an oauth2 identity provider. The values below are for StackExchange server.

EDIT:

See also
- swish(lib/oauth2) for a description of the attributes.
Source swish_config:user_info(+Request, ?Server, -Info:dict) is semidet[multifile]
True if Info represents describes the currently logged in user.