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

Read user profile data and send mail using Microsoft Graph API #258

Merged

Conversation

michaelJustin
Copy link
Owner

No description provided.

@michaelJustin michaelJustin linked an issue Jan 4, 2024 that may be closed by this pull request
Copy link
Owner Author

@michaelJustin michaelJustin left a comment

Choose a reason for hiding this comment

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

Todo:

  • Use a separate App Registration in Entra for this tutorial (it still uses the App Registration for tutorial11)
  • Set the registration id in the AuthFilter Init
  • Set the authorize URL in the AuthFilter Init
  • Use a constant for the 'access_token' string - would require a "global" constant
  • Write all header params (including access token) to the console for debugging

Write all header params (including access token) to the console for debugging
@michaelJustin
Copy link
Owner Author

Fixed: Write all header params (including access token) to the console for debugging

@michaelJustin
Copy link
Owner Author

Fixed:

  • Set the registration id in the AuthFilter Init
  • Set the authorize URL in the AuthFilter Init

@michaelJustin michaelJustin changed the title Read user profile data via Microsoft Graph API Read user profile data and send mail using Microsoft Graph API Jan 5, 2024
demo/tutorial12/AuthFilter.pas Outdated Show resolved Hide resolved
demo/tutorial12/AuthFilter.pas Outdated Show resolved Hide resolved
demo/tutorial12/MainUnit.pas Outdated Show resolved Hide resolved
demo/tutorial12/MainUnit.pas Outdated Show resolved Hide resolved
demo/tutorial12/RootResource.pas Outdated Show resolved Hide resolved
Copy link
Owner Author

@michaelJustin michaelJustin left a comment

Choose a reason for hiding this comment

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

ok

Copy link
Owner Author

@michaelJustin michaelJustin left a comment

Choose a reason for hiding this comment

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

ok

@michaelJustin michaelJustin merged commit 62cfafe into master Jan 6, 2024
@michaelJustin michaelJustin deleted the 257-read-user-profile-data-via-microsoft-graph-api branch January 6, 2024 18:35
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.

Read user profile data and send mail using Microsoft Graph API
1 participant