- Register Services https://notify-bot.line.me/my/services/new
- Add url to
Callback URL
. likehttps://localhost:44352/home/BindCallback
- Copy
Client ID
,Client Secret
andCallback URL
toappsettings.json
Add to Startup.cs
services.AddLineNotifyServices((_, options) =>
{
options.ClientId = Configuration.GetValue("LineNotifyOptions:ClientId", "CHANGE_ME");
options.ClientSecret = Configuration.GetValue("LineNotifyOptions:ClientSecret", "CHANGE_ME");
options.RedirectUri = Configuration.GetValue("LineNotifyOptions:RedirectUri", "CHANGE_ME");
});
Set authorize and callback with Controller