Crew OAuth2 Server Overview
In order to use the FlightOps/Crew API, authorization via a specific Lufthansa Crew OAuth2 Server is necessary. There are two separate instances available for the different API environments:
- Sandbox and Sandbox Mock API: OAuth2 TEST server
- Production API: OAuth2 PROD server
The Lufthansa Crew OAuth2 Server supports the OAuth2 specification according to RFC6749 and provides the following endpoints:
| Endpoint Name | URL | Remarks | 
| Authorization Endpoint | https://oauth-test.lufthansa.com/lhcrew/oauth/authorize | - for MOCK API use scope prefix https://mock.cms.fra.dlh.de/... instead of https://cms.fra.dlh.de/... - a MOCK scope will lead to a special login page which supports login via Google Authenticator | 
| Token Endpoint | https://oauth-test.lufthansa.com/lhcrew/oauth/token | |
| Session Logout Endpoint | https://oauth-test.lufthansa.com/lhcrew/logout | "Browser Logout" (local session) only | 
| Backend Logout Endpoint | https://oauth-test.lufthansa.com/lhcrew/logout_backend | "Backend logout" (Mashery token, backend sessions) only | 
| Endpoint Name | URL | Remarks | 
| Authorization Endpoint | https://oauth.lufthansa.com/lhcrew/oauth/authorize | |
| Token Endpoint | https://oauth.lufthansa.com/lhcrew/oauth/token | |
| Session Logout Endpoint | https://oauth.lufthansa.com/lhcrew/logout | "Browser Logout" (local session) only | 
| Backend Logout Endpoint | https://oauth.lufthansa.com/lhcrew/logout_backend | "Backend logout" (Mashery token, backend sessions) only | 
Docs Navigation
- Lufthansa Open API
- Getting Started
- Public API Method Details- Flight Schedules
- Reference Data
- Offers
- Operations- Flight Schedules
- Flight Status
- Flight Status by Route
- Flight Status at Arrival Airport
- Flight Status at Departure Airport
- Flight Status Response
- Customer Flight Information
- Customer Flight Information at Arrival Airport
- Customer Flight Information by Route
- Customer Flight Information at Departure Airport
- Customer Flight Information Response
 
- Notifications
- cargo
 
- Partner API Method Details
- FlightOps/Crew API Method Details