nextauth-provider-neuronaltrader
v1.0.0
Published
Provider oAuth to Next Auth for Neuronal Trader
Downloads
1
Readme
Neuraltrader provider for next-auth
Default oAuth Server
If the url is not specified, https://accounts.neuronaltrader.com/oauth2 is set by default
const provider = NeuronalTrader({
client: 'client_id',
secret: 'client_secret'
})
Custom oAuth2 Server
const provider = NeuronalTrader({
client: 'client_id',
secret: 'client_secret',
authorization: 'https://developers.neuronaltrader.com/oauth2/authorize',
token: 'https://developers.neuronaltrader.com/oauth2/token',
userInfo: 'https://developers.neuronaltrader.com/oauth2/userinfo'
})