Skip to content

Authorization

The OAuth2 Authorization Code Grant Flow.

OAuth2 Authorization Code Grant Flow

A

The client application requests authorization to access the Miele 3rd Party API

KEYEXPLANATIONCOMMENT
client_idThe client ID you received after the registration
response_typeIndicates that your application expects to receive an authorization code
redirect_uriIndicates URL to return the user to after authorization is complete
stateA random string generated by your application which you'll verify lateroptional
B

The user authorizes access with user name, password and the name of the Miele subsidiary with which his Miele account is registered. For this purpose, the authorization server redirects the user to a special website. Here the user finally gives his explicit consent to use the API.

KEYEXPLANATIONCOMMENT
e-mailThe e-mail address belonging to the Miele user account
passwordThe corresponding password
countryThe Miele subsidiary the Miele user account belongs to
C

The user authorizes access with user name, password and the name of the Miele subsidiary with which his Miele account is registered. For this purpose, the authorization server redirects the user to a special website. Here the user finally gives his explicit consent to use the API.

KEYEXPLANATIONCOMMENT
codeThe server returns the authorization code in the query string
stateThe server returns the same state value that you passedoptional
D

The user authorizes access with user name, password and the name of the Miele subsidiary with which his Miele account is registered. For this purpose, the authorization server redirects the user to a special website. Here the user finally gives his explicit consent to use the API.

KEYEXPLANATIONCOMMENT
client_idThe client ID you received after the registration
client_secretThe client secret you received after the registration
codeThe authorization code returned by the authorization server before to complete
grant_typeThe grant type for this flow is authorization_code
redirect_uriMust be identical to the redirect URI provided in the original link
E

The Authorization server returns the access token

KEYEXPLANATIONCOMMENT
access_tokenTemporary token used for accessing protected resourcesUsed in API calls
refresh_tokenToken used to obtain a new access token without re-authenticationLonger lifespan than access token
token_typeType of token, typically "Bearer"Used in Authorization header
expires_inValidity period of the access token in seconds
F

The client application has to use the access_token for all subsequent API calls

KEYEXPLANATIONCOMMENT
access_tokenThe access_code for the every single API call
G

The Resource Server returns the requested resources

The Miele Developer's portal is available only on desktop and tablet devices.