Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get_azure_token for non azure site using active directory #88

Open
kcollingridge opened this issue Nov 22, 2024 · 0 comments
Open

get_azure_token for non azure site using active directory #88

kcollingridge opened this issue Nov 22, 2024 · 0 comments

Comments

@kcollingridge
Copy link

I am trying to use the azure auth package to get an access token for an api that requires active directory authentication. I have all the necessary details including the tenant, resource, app id and redirect uri, but I am still getting errors about the resource not being found in the client on the popup, so I cannot login. I have checked in the azure portal and the resource id is definitely in the tenant. The site is https://mdr-api.cefas.co.uk/index.html (parts are accessible without login, but I need to access the parts that are restricted)

Does get_azure_token work if you are accessing an api that is not an azure site but does use active directory? I am starting to suspect the reason I am failing is because of that, but I have not found any other R packages for getting tokens using active directory login.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant