Hello @Wojciech Sobiesiak !
- Regarding Microsoft Graph API and sending emails:
- The Microsoft Graph API endpoint
https://graph.microsoft.com/v1.0/me/messages
is primarily used for accessing messages in a mailbox, not for sending them. To send emails using the Graph API, you typically usehttps://graph.microsoft.com/v1.0/me/sendMail
. The Outlook endpoint you mentioned,https://outlook.office.com/api/v2.0/me/sendmail
, is from the older Outlook REST API, which while functional, is not recommended for new applications as Microsoft is pushing developers to use the Graph API.
- The Microsoft Graph API endpoint
- Regarding creating an internet shop with Azure AD:
- Azure Active Directory (Azure AD) is Microsoft's cloud-based identity and access management service. It's not a platform for creating online stores per se. However, Azure AD can be used to authenticate and authorize users of your online store, if that's what you're aiming for. If you're looking to create an online store:
. For the OAuth 2.0 system you built:1. You'd typically use an e-commerce platform (like Magento, Shopify, WooCommerce, etc.). 1. You might host it on Azure (or any other cloud provider). 1. You could integrate Azure AD if you wanted enterprise-grade user authentication and authorization. The structure would involve e-commerce software to handle products, orders, and customer management, hosting services to keep your site online, and then Azure AD (or other identity services) for user management. The structure would involve e-commerce software to handle products, orders, and customer management, hosting services to keep your site online, and then Azure AD (or other identity services) for user management.
- If your system starts the OAuth 2.0 authorization process, manages access tokens, and modifies output files based on tokens without the use of sessions and stores data in encoded files on the HD, it seems like you've built a custom OAuth 2.0 client-side implementation with persistent storage.
- The use of encoded files on the HD for storing client data is unique and does raise security concerns, especially when dealing with sensitive OAuth tokens. - You could call it a "File-based OAuth 2.0 Client Implementation" or a "Persistent OAuth 2.0 Token Manager". However, ensure that storing tokens or any sensitive data on disk is encrypted and secured.
- Let me know if there is anything else i can help !
- I hope this helps!
- Kindly mark the answer as Accepted and Upvote in case it helped!
- Regards
- If your system starts the OAuth 2.0 authorization process, manages access tokens, and modifies output files based on tokens without the use of sessions and stores data in encoded files on the HD, it seems like you've built a custom OAuth 2.0 client-side implementation with persistent storage.
- Azure Active Directory (Azure AD) is Microsoft's cloud-based identity and access management service. It's not a platform for creating online stores per se. However, Azure AD can be used to authenticate and authorize users of your online store, if that's what you're aiming for. If you're looking to create an online store: