Before you start, you will need :
- to know the OAuth2 protocol.
- to know how the OpenID Connect process works.
- to create an App on this portal here.
- to request an access here by providing your redirect_uri (it will be used to redirect your users after the authentication)
Services
Loyalty enrollment
You'll be able to enroll your Users on the Accor ALL Loyalty program.
Account login
You'll be able to connect your Users to the Accor platform.
Account registration
You'll be able to create an account for your Users on the Accor platform.
Environments
Development
Accor employee : dev-login.accor.com
External user : rec-api.accor.com
UAT/Testing
Accor employee : rec-login.accor.com
External user : rec-api.accor.com
Production
Accor employee : login.accor.com
External user : api.accor.com
Implementations
Authorization code flow
a two-step method for obtaining an access token for the API. You will need a web server.
Documentation
Implicit flow
DeprecatedThe easiest way but limited on API endpoints you can use. The token can be used only from the user’s device.
Documentation
Managing the SSO / Remember Me
To retrieve authorization for already connected members, you need to make an authorization request in silence mode with the parameter prompt=none
Documentation
Registration and ALL Loyalty enrollment
To register or enroll a member to the ALL program
Documentation