Mattermost
Documentation​
https://developers.mattermost.com/integrate/apps/authentication/oauth2
Configuration​
http://my-cool-server.cloud.mattermost.com/mycoolteam/integrations/oauth2-apps
Options​
The Mattermost provider comes with a set of default options:
You can override any of the options to suit your own use case.
Example​
import Mattermost from "@auth/core/providers/mattermost";
...
providers: [
Mattermost({
// The base url of your Mattermost instance. e.g https://my-cool-server.cloud.mattermost.com
clientId: env.MATTERMOST_ID,
clientSecret: env.MATTERMOST_SECRET,
issuer: env.MATTERMOST_ISSUER,
})
]
...