mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-11-27 01:02:14 +05:30
Merge remote-tracking branch 'origin/master' into deps-updates
This commit is contained in:
commit
8e95fd835e
@ -123,7 +123,7 @@ describe('OAuthState', () => {
|
|||||||
client_id: 'client_id',
|
client_id: 'client_id',
|
||||||
redirect_uri: 'redirect_uri',
|
redirect_uri: 'redirect_uri',
|
||||||
response_type: 'response_type',
|
response_type: 'response_type',
|
||||||
scope: 'scope1,scope2',
|
scope: 'scope1,scope2,scope3',
|
||||||
state: 'state',
|
state: 'state',
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -138,7 +138,7 @@ describe('OAuthState', () => {
|
|||||||
clientId: query.client_id,
|
clientId: query.client_id,
|
||||||
redirectUrl: query.redirect_uri,
|
redirectUrl: query.redirect_uri,
|
||||||
responseType: query.response_type,
|
responseType: query.response_type,
|
||||||
scope: 'scope1 scope2',
|
scope: 'scope1 scope2 scope3',
|
||||||
state: query.state,
|
state: query.state,
|
||||||
}),
|
}),
|
||||||
).returns({ then() {} });
|
).returns({ then() {} });
|
||||||
|
@ -11,7 +11,7 @@ export default class OAuthState extends AbstractState {
|
|||||||
redirectUrl: query.get('redirect_uri'),
|
redirectUrl: query.get('redirect_uri'),
|
||||||
responseType: query.get('response_type'),
|
responseType: query.get('response_type'),
|
||||||
description: query.get('description'),
|
description: query.get('description'),
|
||||||
scope: (query.get('scope') || '').replace(',', ' '),
|
scope: (query.get('scope') || '').replace(/,/g, ' '),
|
||||||
prompt: query.get('prompt'),
|
prompt: query.get('prompt'),
|
||||||
loginHint: query.get('login_hint'),
|
loginHint: query.get('login_hint'),
|
||||||
state: query.get('state'),
|
state: query.get('state'),
|
||||||
|
Loading…
Reference in New Issue
Block a user