Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ static/*
!static/mediawiki.svg
!static/openidconnect.svg
!static/orcid.svg
!static/stackexchange.svg

# Add .env file for Docker
!docker/.env
Expand Down
13 changes: 1 addition & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ Each object in the list of providers can have the following properties:
- `credentialsNecessary` (optional) - Set to `true` if username and password credentials are necessary for this provider. Instead of a redirect (for OAuth), login-server will show a login form that will send the credentials to a POST endpoint.
- `options` (mostly required) - A options object for the strategy, often containing client credentials for the authentication endpoint.
- `image` (optional) - An image associated with the provider. Will be shown on the login page and in the list of connected identities. You can provide static images in the folder `static/`. The value for the property would then be `static/myimage.svg`. If the filename matches the `id` of the provider, the image will be automatically associated.
- `url` (optional) - A URL for the provider; will be linked on its image/icon under `/account`. There are default URLs for the strategies `github`, `orcid`, `mediawiki`, and `stackexchange`.
- `url` (optional) - A URL for the provider; will be linked on its image/icon under `/account`. There are default URLs for the strategies `github`, `orcid`, and `mediawiki`.

The following is an example `providers.json` that shows how to configure each of the existing providers:

Expand Down Expand Up @@ -305,17 +305,6 @@ The following is an example `providers.json` that shows how to configure each of
"consumerSecret": "abcdef1234567890abcdef1234567890"
}
},
{
"id": "stackexchange",
"strategy": "stackexchange",
"name": "Stack Exchange",
"template": "https://stackexchange.com/users/{id}",
"options": {
"clientID": "12345",
"clientSecret": "abcdef1234567890((",
"stackAppsKey": "1234567890abcdefg(("
}
},
{
"id": "my-ldap",
"strategy": "ldapauth",
Expand Down
3 changes: 0 additions & 3 deletions config.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,9 +245,6 @@ if (env != "test") {
case "mediawiki":
provider.url = "https://www.mediawiki.org/wiki/MediaWiki"
break
case "stackexchange":
provider.url = "https://stackexchange.com"
break
}
}
}
Expand Down
13 changes: 0 additions & 13 deletions static/stackexchange.svg

This file was deleted.

53 changes: 0 additions & 53 deletions strategies/stackexchange.js

This file was deleted.

Loading