diff --git a/lib/msal-core/test/utils/CryptoUtils.spec.ts b/lib/msal-core/test/utils/CryptoUtils.spec.ts index 5fd8a39a5f..27343107ac 100644 --- a/lib/msal-core/test/utils/CryptoUtils.spec.ts +++ b/lib/msal-core/test/utils/CryptoUtils.spec.ts @@ -45,22 +45,22 @@ describe("CryptoUtils.ts class", () => { }); it('id token', () => { - const ID_TOKEN_STRING = "eyJhdWQiOiI3MzE1YmE0MS1lZDYwLTQwYjUtOTY3Zi1hOTBlNTUzZmM3MTgiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vY2QxOWNlNjQtMDI4Mi00YTJkLTgxMjktNDdhYTBiMjdmYjdiL3YyLjAiLCJpYXQiOjE1NzA0ODM3NTIsIm5iZiI6MTU3MDQ4Mzc1MiwiZXhwIjoxNTcwNDg3NjUyLCJhaW8iOiJBVFFBeS84TkFBQUFEYW0weDZWdTQ3TU9FTGU0TGlJVDNzWFFULzNNcmFFbGFDS0t2dUt4a0NNSjl4ckt0ekxOaG5jNVlCZllpSVI0IiwibmFtZSI6Iua-geeUsCDlj6Hnn6UiLCJub25jZSI6IjcwNmFiM2QwLThmYmItNGVkYS1hYmU5LTc1Y2JmNzc2NmM3NiIsIm9pZCI6IjhjYzEwZjM5LTE4MTYtNDJiNS05M2ZmLWUwZjkyZGU2ZTIxOCIsInByZWZlcnJlZF91c2VybmFtZSI6ImpwLXRlc3RAamFudXR0ZXJ0ZXN0Lm9ubWljcm9zb2Z0LmNvbSIsInN1YiI6IkdkWkE4R255UEE4RmRvM3ZINDMwdTNYVHJzaFIzeHZNZ29KeVFDOUcwS0kiLCJ0aWQiOiJjZDE5Y2U2NC0wMjgyLTRhMmQtODEyOS00N2FhMGIyN2ZiN2IiLCJ1dGkiOiJMcnpsU2wzX0hFYUFWd2l3aDM5WUFBIiwidmVyIjoiMi4wIn0"; + const ID_TOKEN_STRING = "eyJhdWQiOiI3MzE1YmE0MS1lZDYwLTQwYjUtOTY3Zi1hOTBlNTUzZmM3MTgiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vY2QxOWNlNjQtMDI4Mi00YTJkLTgxMjktNDdhYTBiMjdmYjdiL3YyLjAiLCJpYXQiOjE1NzEyNzUzNDIsIm5iZiI6MTU3MTI3NTM0MiwiZXhwIjoxNTcxMjc5MjQyLCJhaW8iOiJBVFFBeS84TkFBQUFYck5scUhmVWY4blNTcUR2Nis5OGlEZU1tZmZuOVNieHhDbTNQNXI1ZkpHSDBJenA4ZmNHNVdzL1V6bE1RL3F2IiwibmFtZSI6Iui-u_OghIAg5aSq6YOOIiwibm9uY2UiOiI0YjIyMDAxNi1mZThkLTRiMWEtYjQ0MS0wNTJjY2ZjZjg1YTgiLCJvaWQiOiI3YTg4NjEwOS1kNmQzLTRlNjMtYTA5MS05YWMyOGE0NjA0Y2YiLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJqcC10ZXN0QGphbnV0dGVydGVzdC5vbm1pY3Jvc29mdC5jb20iLCJzdWIiOiJ3VGJ1WkZxY0IyN3UtOXFhMVktbFVrS2EzQVR1TjllZGdsRDhmSFZLUEs4IiwidGlkIjoiY2QxOWNlNjQtMDI4Mi00YTJkLTgxMjktNDdhYTBiMjdmYjdiIiwidXRpIjoiak5kXy1zMHEyMC0xdzE5NGVfWUtBQSIsInZlciI6IjIuMCJ9"; const ID_TOKEN = { "aud": "7315ba41-ed60-40b5-967f-a90e553fc718", "iss": "https://login.microsoftonline.com/cd19ce64-0282-4a2d-8129-47aa0b27fb7b/v2.0", - "iat": 1570483752, - "nbf": 1570483752, - "exp": 1570487652, - "aio": "ATQAy/8NAAAADam0x6Vu47MOELe4LiIT3sXQT/3MraElaCKKvuKxkCMJ9xrKtzLNhnc5YBfYiIR4", - "name": "澁田 叡知", - "nonce": "706ab3d0-8fbb-4eda-abe9-75cbf7766c76", - "oid": "8cc10f39-1816-42b5-93ff-e0f92de6e218", + "iat": 1571275342, + "nbf": 1571275342, + "exp": 1571279242, + "aio": "ATQAy/8NAAAAXrNlqHfUf8nSSqDv6+98iDeMmffn9SbxxCm3P5r5fJGH0Izp8fcG5Ws/UzlMQ/qv", + "name": "辻󠄀 太郎", + "nonce": "4b220016-fe8d-4b1a-b441-052ccfcf85a8", + "oid": "7a886109-d6d3-4e63-a091-9ac28a4604cf", "preferred_username": "jp-test@januttertest.onmicrosoft.com", - "sub": "GdZA8GnyPA8Fdo3vH430u3XTrshR3xvMgoJyQC9G0KI", + "sub": "wTbuZFqcB27u-9qa1Y-lUkKa3ATuN9edglD8fHVKPK8", "tid": "cd19ce64-0282-4a2d-8129-47aa0b27fb7b", - "uti": "LrzlSl3_HEaAVwiwh39YAA", + "uti": "jNd_-s0q20-1w194e_YKAA", "ver": "2.0" };