The intel_cloud_services.py script allows for the integration with Intel's OAuth services for Single Sign-On (SSO) and email sending capabilities through their API.
To use the Intel Cloud Services, you need to set up the following environment variables:
INTEL_CLIENT_ID: Intel OAuth client IDINTEL_CLIENT_SECRET: Intel OAuth client secret
- Go to the Intel Developer Zone.
- Register for an account if you don't have one.
- Log in to your Intel Developer account.
- Navigate to the Intel APIs.
- Create a new application and obtain its Client ID and Client Secret.
- Client ID: This will be your
INTEL_CLIENT_ID. - Client Secret: This will be your
INTEL_CLIENT_SECRET.
- Client ID: This will be your
Make sure the following APIs are enabled for your application:
- User Info API
- Mail Send API
The following scopes must be added to your OAuth application settings:
https://api.intel.com/userinfo.readhttps://api.intel.com/mail.send
Add the acquired INTEL_CLIENT_ID and INTEL_CLIENT_SECRET to your .env file:
INTEL_CLIENT_ID=your_client_id_here
INTEL_CLIENT_SECRET=your_client_secret_here