fix tests
This commit is contained in:
Родитель
94ea59e10d
Коммит
b0edb5b154
|
@ -35,7 +35,7 @@ module IAMHelpers
|
||||||
def create_id_token(user, additional_payload = {}, additional_header = {})
|
def create_id_token(user, additional_payload = {}, additional_header = {})
|
||||||
payload = {
|
payload = {
|
||||||
name: user[:name],
|
name: user[:name],
|
||||||
email: user[:email],
|
email: user[:email] || user.email,
|
||||||
sub: create_uid(user[:username]),
|
sub: create_uid(user[:username]),
|
||||||
email_verified: true,
|
email_verified: true,
|
||||||
iss: 'https://auth.mozilla.auth0.com/',
|
iss: 'https://auth.mozilla.auth0.com/',
|
||||||
|
|
Загрузка…
Ссылка в новой задаче