Getting an Access Token

I want to get an access token from Microsoft inside the plugin to call the Microsoft Graph API for creating the planner task in Teams. What will be the redirect url for the plugin that can be used to get the access token?