Skip to content

Fix an example of Azure AD provider with OAuth#238

Open
kenchan0130 wants to merge 2 commits intoTestLinkOpenSourceTRMS:testlink_1_9from
kenchan0130:fix-sample-for-azure-ad
Open

Fix an example of Azure AD provider with OAuth#238
kenchan0130 wants to merge 2 commits intoTestLinkOpenSourceTRMS:testlink_1_9from
kenchan0130:fix-sample-for-azure-ad

Conversation

@kenchan0130
Copy link
Copy Markdown
Contributor

I changed some samples at #225.
However, when I actually ran it with Azure AD, I found that the scope of https://graph.microsoft.com/mail.read was superfluous.
Therefore, I removed the scope from the sample.

@squash-labs
Copy link
Copy Markdown

squash-labs Bot commented Jan 6, 2020

Manage this branch in Squash

Test this branch here: https://kenchan0130fix-sample-for-azur-o7fdt.squash.io

Comment thread config.inc.php
// $tlCfg->OAuthServers[1]['oauth_domain'] = 'autsoft.hu';
// $tlCfg->OAuthServers[1]['oauth_profile'] = 'https://login.microsoftonline.com/TENANTID/openid/userinfo';
// $tlCfg->OAuthServers[1]['oauth_scope'] = 'https://graph.microsoft.com/mail.read https://graph.microsoft.com/user.read openid profile email';
// $tlCfg->OAuthServers[1]['oauth_scope'] = 'https://graph.microsoft.com/user.read openid profile email';
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the main one.

@atisne
Copy link
Copy Markdown
Contributor

atisne commented Nov 28, 2024

I confirm that the https://graph.microsoft.com/mail.read permission is not required.

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

Successfully merging this pull request may close these issues.

2 participants