authentication

Generating access token for NFL api

强颜欢笑 提交于 2020-08-27 06:53:11
问题 NFL has an api service. link : https://api.nfl.com/docs/getting-started/index.html For making api calls we need an Oauth2 access token. To generate it we need to hit /oauth/token endpoint with parameters client_id and client_secret in body.Now I cannot find any documentation on how to generate the client_id and client_secret. Another way I found was to create a new user which just requires you to pass necessary parameters like username,password,etc and in turn gives a new access token.But

Login with AAD MSAL - Login is already in progress

核能气质少年 提交于 2020-08-27 06:43:13
问题 I have a ASP.net website, that uses MSAL to login. The issue I keep having is that, whenever the user logs in, then logs out again the user is redirected to a logout page. This page implements the new Msal.UserAgentApplication(msalConfig).logout() function, and redirects the user back to the login page. This all works perfectly. The login page will then automatically redirect the user back to the AAD login page. If the user then decides to login again, the result of MyMsalObject.GetAccount()