The provided module allows for Single Sign-On (SSO) with Xing and includes the functionality to retrieve user information as well as send emails. Follow the steps below to set up and use the Xing SSO module.
Required Environment Variables
To use the Xing SSO module, you need to set up two environment variables:
XING_CLIENT_ID
: Your Xing OAuth client IDXING_CLIENT_SECRET
: Your Xing OAuth client secret
Acquiring Environment Variables
Xing OAuth Client ID and Client Secret:
- You will first need to create an application on Xing Developer Portal. Here�s how:
- Sign up or log into the Xing Developer Portal.
- Create a new application (you might have to complete some verification steps).
- Once your application is created, you will get access to the client ID and client secret.
- You will first need to create an application on Xing Developer Portal. Here�s how:
Setting Up Environment Variables:
Add the
XING_CLIENT_ID
andXING_CLIENT_SECRET
to your.env
file:XING_CLIENT_ID=your_xing_oauth_client_id XING_CLIENT_SECRET=your_xing_oauth_client_secret
Required APIs
Ensure you have the following APIs enabled:
Required Scopes for Xing SSO
These are the API scopes required for Xing SSO:
https://api.xing.com/v1/users/me
https://api.xing.com/v1/authorize