mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-05-31 14:11:58 +05:30
#195: add custom description support for oauth
This commit is contained in:
@@ -100,7 +100,7 @@ describe('components/auth/actions', () => {
|
||||
|
||||
return callThunk(oAuthComplete).then(() => {
|
||||
expect(request.post, 'to have a call satisfying', [
|
||||
'/api/oauth2/v1/complete?client_id=&redirect_uri=&response_type=&scope=&state=',
|
||||
'/api/oauth2/v1/complete?client_id=&redirect_uri=&response_type=&description=&scope=&state=',
|
||||
{}
|
||||
]);
|
||||
});
|
||||
|
||||
@@ -26,6 +26,7 @@ describe('OAuthState', () => {
|
||||
client_id: 'client_id',
|
||||
redirect_uri: 'redirect_uri',
|
||||
response_type: 'response_type',
|
||||
description: 'description',
|
||||
scope: 'scope',
|
||||
state: 'state'
|
||||
};
|
||||
@@ -39,6 +40,7 @@ describe('OAuthState', () => {
|
||||
clientId: query.client_id,
|
||||
redirectUrl: query.redirect_uri,
|
||||
responseType: query.response_type,
|
||||
description: query.description,
|
||||
scope: query.scope,
|
||||
state: query.state
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user