azure-samples / js-e2e Goto Github PK
View Code? Open in Web Editor NEWJavaScript end-to-end
License: MIT License
JavaScript end-to-end
License: MIT License
I've been pinged as this repo doesn't meet the "durable ownership minimums" for Microsoft compliance.
Please add another owner to this repo to meet those requirements!
I'll check this in 2 weeks, if the requirements are not met, I'll add myself as an owner, and archive the repo.
/
Please provide us with the following information:
x
)- [x] bug report -> please search issues before submitting
- [ ] feature request
- [x] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
First of all thank you very much for the high quality code you have provided.
Not sure if it is a bug or misconfiguration from my side.
My app gets blocked after I am using it a while and after I am clearing manually cache.json file it is running again.
2021-08-31T18:40:15 Welcome, you are now connected to log-streaming service.
Starting Log Tail -n 10 of existing logs ----
/appsvctmp/volatile/logs/runtime/532ea1b982f28f8ce5c1a281b8e2cb8b52caf17bf3ccb8783ec11197ae9b0f1b.log
2021-08-31T18:38:54.887197645Z: [INFO] [Tue, 31 Aug 2021 18:38:54 GMT] : [78fd7c9c-6cda-43ea-a516-3022389c7137] : @azure/[email protected] : Verbose - building oauth client configuration with the authority: https://login.microsoftonline.com/fed95e69-8d73-43fe-affb-a7d85ede36fb
2021-08-31T18:38:54.887223446Z: [INFO] [Tue, 31 Aug 2021 18:38:54 GMT] : [78fd7c9c-6cda-43ea-a516-3022389c7137] : @azure/[email protected] : Verbose - createAuthority called
2021-08-31T18:38:54.999775968Z: [INFO] [Tue, 31 Aug 2021 18:38:54 GMT] : [78fd7c9c-6cda-43ea-a516-3022389c7137] : @azure/[email protected] : Verbose - Silent flow client created
2021-08-31T18:39:10.341489928Z: [INFO] appSettings is configured
2021-08-31T18:39:14.086319715Z: [INFO] [Tue, 31 Aug 2021 18:39:14 GMT] : @azure/[email protected] : Info - getTokenCache called
2021-08-31T18:39:14.098883506Z: [INFO] [Tue, 31 Aug 2021 18:39:14 GMT] : @azure/[email protected] : Verbose - initializeRequestScopes called
2021-08-31T18:39:14.100185284Z: [INFO] [Tue, 31 Aug 2021 18:39:14 GMT] : [6b6be9ed-16b6-429d-86cb-9a8cf05dbbdb] : @azure/[email protected] : Verbose - buildOauthClientConfiguration called
2021-08-31T18:39:14.100913172Z: [INFO] [Tue, 31 Aug 2021 18:39:14 GMT] : [6b6be9ed-16b6-429d-86cb-9a8cf05dbbdb] : @azure/[email protected] : Verbose - building oauth client configuration with the authority: https://login.microsoftonline.com/fed95e69-8d73-43fe-affb-a7d85ede36fb
2021-08-31T18:39:14.101620160Z: [INFO] [Tue, 31 Aug 2021 18:39:14 GMT] : [6b6be9ed-16b6-429d-86cb-9a8cf05dbbdb] : @azure/[email protected] : Verbose - createAuthority called
2021-08-31T18:39:14.296606116Z: [INFO] [Tue, 31 Aug 2021 18:39:14 GMT] : [6b6be9ed-16b6-429d-86cb-9a8cf05dbbdb] : @azure/[email protected] : Verbose - Silent flow client created
Ending Log Tail of existing logs ---
Starting Live Log Stream ---
2021-08-31T18:40:32.906069109Z: [INFO] [Tue, 31 Aug 2021 18:40:32 GMT] : @azure/[email protected] : Info - getTokenCache called
2021-08-31T18:40:32.916702690Z: [INFO] [Tue, 31 Aug 2021 18:40:32 GMT] : @azure/[email protected] : Verbose - initializeRequestScopes called
2021-08-31T18:40:32.917625515Z: [INFO] [Tue, 31 Aug 2021 18:40:32 GMT] : [9c59588e-7259-4245-b6e5-fd8ec58f009b] : @azure/[email protected] : Verbose - buildOauthClientConfiguration called
2021-08-31T18:40:32.918301432Z: [INFO] [Tue, 31 Aug 2021 18:40:32 GMT] : [9c59588e-7259-4245-b6e5-fd8ec58f009b] : @azure/[email protected] : Verbose - building oauth client configuration with the authority: https://login.microsoftonline.com/fed95e69-8d73-43fe-affb-a7d85ede36fb
2021-08-31T18:40:32.919022551Z: [INFO] [Tue, 31 Aug 2021 18:40:32 GMT] : [9c59588e-7259-4245-b6e5-fd8ec58f009b] : @azure/[email protected] : Verbose - createAuthority called
2021-08-31T18:40:33.063174078Z: [INFO] [Tue, 31 Aug 2021 18:40:33 GMT] : [9c59588e-7259-4245-b6e5-fd8ec58f009b] : @azure/[email protected] : Verbose - Silent flow client created
2021-08-31T18:40:36.161374557Z: [INFO] appSettings is configured
2021-08-31T18:40:38.314181184Z: [INFO] [Tue, 31 Aug 2021 18:40:38 GMT] : @azure/[email protected] : Info - getTokenCache called
2021-08-31T18:40:38.329244870Z: [INFO] [Tue, 31 Aug 2021 18:40:38 GMT] : @azure/[email protected] : Verbose - initializeRequestScopes called
2021-08-31T18:40:38.332986966Z: [INFO] [Tue, 31 Aug 2021 18:40:38 GMT] : [72be9ac3-d170-45d0-94ae-9c63c5e74750] : @azure/[email protected] : Verbose - buildOauthClientConfiguration called
2021-08-31T18:40:38.333018767Z: [INFO] [Tue, 31 Aug 2021 18:40:38 GMT] : [72be9ac3-d170-45d0-94ae-9c63c5e74750] : @azure/[email protected] : Verbose - building oauth client configuration with the authority: https://login.microsoftonline.com/fed95e69-8d73-43fe-affb-a7d85ede36fb
2021-08-31T18:40:38.333044768Z: [INFO] [Tue, 31 Aug 2021 18:40:38 GMT] : [72be9ac3-d170-45d0-94ae-9c63c5e74750] : @azure/[email protected] : Verbose - createAuthority called
2021-08-31T18:40:38.462466288Z: [INFO] [Tue, 31 Aug 2021 18:40:38 GMT] : [72be9ac3-d170-45d0-94ae-9c63c5e74750] : @azure/[email protected] : Verbose - Silent flow client created
2021-08-31T18:42:15 No new trace in the past 1 min(s).
2021-08-31T18:43:15 No new trace in the past 2 min(s).
2021-08-31T18:44:15 No new trace in the past 3 min(s).
2021-08-31T18:45:15 No new trace in the past 4 min(s).
2021-08-31T18:46:15 No new trace in the past 5 min(s).
2021-08-31T18:47:15 No new trace in the past 6 min(s).
2021-08-31T18:48:15 No new trace in the past 7 min(s).
2021-08-31T18:49:05.364360604Z: [INFO] [Tue, 31 Aug 2021 18:49:05 GMT] : @azure/[email protected] : Info - getTokenCache called
2021-08-31T18:49:05.374440020Z: [INFO] [Tue, 31 Aug 2021 18:49:05 GMT] : @azure/[email protected] : Verbose - initializeRequestScopes called
2021-08-31T18:49:05.375278546Z: [INFO] [Tue, 31 Aug 2021 18:49:05 GMT] : [e0a5fe36-77bb-4c08-874b-77d2c24d09d7] : @azure/[email protected] : Verbose - buildOauthClientConfiguration called
2021-08-31T18:49:05.375854664Z: [INFO] [Tue, 31 Aug 2021 18:49:05 GMT] : [e0a5fe36-77bb-4c08-874b-77d2c24d09d7] : @azure/[email protected] : Verbose - building oauth client configuration with the authority: https://login.microsoftonline.com/fed95e69-8d73-43fe-affb-a7d85ede36fb
2021-08-31T18:49:05.377442414Z: [INFO] [Tue, 31 Aug 2021 18:49:05 GMT] : [e0a5fe36-77bb-4c08-874b-77d2c24d09d7] : @azure/[email protected] : Verbose - createAuthority called
2021-08-31T18:49:05.510938706Z: [INFO] [Tue, 31 Aug 2021 18:49:05 GMT] : [e0a5fe36-77bb-4c08-874b-77d2c24d09d7] : @azure/[email protected] : Verbose - Silent flow client created
2021-08-31T18:49:11.918757316Z: [INFO] appSettings is configured
2021-08-31T18:49:14.534029540Z: [INFO] [Tue, 31 Aug 2021 18:49:14 GMT] : @azure/[email protected] : Info - getAuthCodeUrl called
2021-08-31T18:49:14.535223878Z: [INFO] [Tue, 31 Aug 2021 18:49:14 GMT] : @azure/[email protected] : Verbose - initializeRequestScopes called
2021-08-31T18:49:14.535879198Z: [INFO] [Tue, 31 Aug 2021 18:49:14 GMT] : [de1b326e-a17f-454f-b876-b9d6f66bb381] : @azure/[email protected] : Verbose - buildOauthClientConfiguration called
2021-08-31T18:49:14.537389945Z: [INFO] [Tue, 31 Aug 2021 18:49:14 GMT] : [de1b326e-a17f-454f-b876-b9d6f66bb381] : @azure/[email protected] : Verbose - building oauth client configuration with the authority: https://login.microsoftonline.com/fed95e69-8d73-43fe-affb-a7d85ede36fb
2021-08-31T18:49:14.537449047Z: [INFO] [Tue, 31 Aug 2021 18:49:14 GMT] : [de1b326e-a17f-454f-b876-b9d6f66bb381] : @azure/[email protected] : Verbose - createAuthority called
2021-08-31T18:49:14.537462348Z: [INFO] [Tue, 31 Aug 2021 18:49:14 GMT] : [de1b326e-a17f-454f-b876-b9d6f66bb381] : @azure/[email protected] : Verbose - Auth code client created
2021-08-31T18:49:17.855268766Z: [INFO] [Tue, 31 Aug 2021 18:49:17 GMT] : @azure/[email protected] : Info - acquireTokenByCode called
2021-08-31T18:49:17.856229896Z: [INFO] [Tue, 31 Aug 2021 18:49:17 GMT] : @azure/[email protected] : Verbose - initializeRequestScopes called
2021-08-31T18:49:17.857062822Z: [INFO] [Tue, 31 Aug 2021 18:49:17 GMT] : [d7ab06f3-9574-4cd0-a825-8ac5a00a07d1] : @azure/[email protected] : Verbose - buildOauthClientConfiguration called
2021-08-31T18:49:17.857754343Z: [INFO] [Tue, 31 Aug 2021 18:49:17 GMT] : [d7ab06f3-9574-4cd0-a825-8ac5a00a07d1] : @azure/[email protected] : Verbose - building oauth client configuration with the authority: https://login.microsoftonline.com/fed95e69-8d73-43fe-affb-a7d85ede36fb
2021-08-31T18:49:17.859019983Z: [INFO] [Tue, 31 Aug 2021 18:49:17 GMT] : [d7ab06f3-9574-4cd0-a825-8ac5a00a07d1] : @azure/[email protected] : Verbose - createAuthority called
2021-08-31T18:49:17.859055884Z: [INFO] [Tue, 31 Aug 2021 18:49:17 GMT] : [d7ab06f3-9574-4cd0-a825-8ac5a00a07d1] : @azure/[email protected] : Verbose - Auth code client created
2021-08-31T18:49:17.864597257Z: [INFO] [Tue, 31 Aug 2021 18:49:17 GMT] : [d7ab06f3-9574-4cd0-a825-8ac5a00a07d1] : @azure/[email protected] : Info - in acquireToken call
2021-08-31T18:49:18.098706476Z: [INFO] [Tue, 31 Aug 2021 18:49:18 GMT] : [d7ab06f3-9574-4cd0-a825-8ac5a00a07d1] : @azure/[email protected] : Verbose - Persistence enabled, calling beforeCacheAccess
2021-08-31T18:49:18.110531046Z: [INFO] [Tue, 31 Aug 2021 18:49:18 GMT] : [d7ab06f3-9574-4cd0-a825-8ac5a00a07d1] : @azure/[email protected] : Verbose - Persistence enabled, calling afterCacheAccess
2021-08-31T18:49:18.116298826Z: [INFO]
2021-08-31T18:49:18.116326527Z: [INFO] Response:
2021-08-31T18:49:18.116337027Z: [INFO] : {
2021-08-31T18:49:18.116344927Z: [INFO] authority: 'https://login.microsoftonline.com/fed95e69-8d73-43fe-affb-a7d85ede36fb/',
2021-08-31T18:49:18.116381528Z: [INFO] uniqueId: 'f2f25a2c-bfdb-4c50-a115-e9981472607b',
2021-08-31T18:49:18.116393929Z: [INFO] tenantId: 'fed95e69-8d73-43fe-affb-a7d85ede36fb',
2021-08-31T18:49:18.116401729Z: [INFO] scopes: [ 'profile', 'openid', 'email', 'User.Read' ],
2021-08-31T18:49:18.116409429Z: [INFO] account: {
2021-08-31T18:49:18.116416930Z: [INFO] homeAccountId: 'f2f25a2c-bfdb-4c50-a115-e9981472607b.fed95e69-8d73-43fe-affb-a7d85ede36fb',
2021-08-31T18:49:18.116424730Z: [INFO] environment: 'login.windows.net',
2021-08-31T18:49:18.116432630Z: [INFO] tenantId: 'fed95e69-8d73-43fe-affb-a7d85ede36fb',
2021-08-31T18:49:18.116440330Z: [INFO] username: '[email protected]',
2021-08-31T18:49:18.116448030Z: [INFO] localAccountId: 'f2f25a2c-bfdb-4c50-a115-e9981472607b',
2021-08-31T18:49:18.116455531Z: [INFO] name: 'Badulescu, (Adrian)',
2021-08-31T18:49:18.116463031Z: [INFO] idTokenClaims: {
2021-08-31T18:49:18.116470531Z: [INFO] aud: '476d9437-71a1-44f0-8a97-64cb2422efb1',
2021-08-31T18:49:18.116478231Z: [INFO] iss: 'https://login.microsoftonline.com/fed95e69-8d73-43fe-affb-a7d85ede36fb/v2.0',
2021-08-31T18:49:18.116485932Z: [INFO] iat: 1630435457,
2021-08-31T18:49:18.116493432Z: [INFO] nbf: 1630435457,
2021-08-31T18:49:18.116500632Z: [INFO] exp: 1630439357,
2021-08-31T18:49:18.116507932Z: [INFO] aio: 'AUQAu/8TAAAAVNt7PpnCvrr4l8g6l6y0qwgeKD2uvuOFbL4pSiXSFIB5biMEkjNYiixAm83gzhURIzsVBpVsLdewdNSoE8e7qA==',
2021-08-31T18:49:18.116515833Z: [INFO] name: 'Badulescu, (Adrian)',
2021-08-31T18:49:18.116523133Z: [INFO] oid: 'f2f25a2c-bfdb-4c50-a115-e9981472607b',
2021-08-31T18:49:18.116530433Z: [INFO] preferred_username: '[email protected]',
2021-08-31T18:49:18.116537833Z: [INFO] rh: '0.ARAAaV7Z_nON_kOv-6fYXt42-zeUbUehcfBEipdkyyQi77EQAIA.',
2021-08-31T18:49:18.116545634Z: [INFO] roles: [Array],
2021-08-31T18:49:18.116553134Z: [INFO] sub: 'FDeGNSic2VM5jDKhtXhCktDIzvfveDOvmDzxYubxLo8',
2021-08-31T18:49:18.116560634Z: [INFO] tid: 'fed95e69-8d73-43fe-affb-a7d85ede36fb',
2021-08-31T18:49:18.116567934Z: [INFO] uti: 'RiGPw6MI306SW0eYd2ZlAA',
2021-08-31T18:49:18.116575234Z: [INFO] ver: '2.0'
2021-08-31T18:49:18.116582635Z: [INFO] }
2021-08-31T18:49:18.116590035Z: [INFO] },
2021-08-31T18:49:18.116600535Z: [INFO] idToken: '',
2021-08-31T18:49:18.116621436Z: [INFO] idTokenClaims: {
2021-08-31T18:49:18.116629536Z: [INFO] aud: '476d9437-71a1-44f0-8a97-64cb2422efb1',
2021-08-31T18:49:18.116637136Z: [INFO] iss: 'https://login.microsoftonline.com/fed95e69-8d73-43fe-affb-a7d85ede36fb/v2.0',
2021-08-31T18:49:18.116644637Z: [INFO] iat: 1630435457,
2021-08-31T18:49:18.116651737Z: [INFO] nbf: 1630435457,
2021-08-31T18:49:18.116658937Z: [INFO] exp: 1630439357,
2021-08-31T18:49:18.116666137Z: [INFO] aio: 'AUQAu/8TAAAAVNt7PpnCvrr4l8g6l6y0qwgeKD2uvuOFbL4pSiXSFIB5biMEkjNYiixAm83gzhURIzsVBpVsLdewdNSoE8e7qA==',
2021-08-31T18:49:18.116673838Z: [INFO] name: 'Badulescu, (Adrian)',
2021-08-31T18:49:18.116681138Z: [INFO] oid: 'f2f25a2c-bfdb-4c50-a115-e9981472607b',
2021-08-31T18:49:18.116688538Z: [INFO] preferred_username: '[email protected]',
2021-08-31T18:49:18.116695938Z: [INFO] rh: '0.ARAAaV7Z_nON_kOv-6fYXt42-zeUbUehcfBEipdkyyQi77EQAIA.',
2021-08-31T18:49:18.116703438Z: [INFO] roles: [ 'read' ],
2021-08-31T18:49:18.116710739Z: [INFO] sub: 'FDeGNSic2VM5jDKhtXhCktDIzvfveDOvmDzxYubxLo8',
2021-08-31T18:49:18.116717939Z: [INFO] tid: 'fed95e69-8d73-43fe-affb-a7d85ede36fb',
2021-08-31T18:49:18.116725339Z: [INFO] uti: 'RiGPw6MI306SW0eYd2ZlAA',
2021-08-31T18:49:18.116732439Z: [INFO] ver: '2.0'
2021-08-31T18:49:18.116739640Z: [INFO] },
2021-08-31T18:49:18.116749440Z: [INFO] accessToken: 'here it was the Bearer token',
2021-08-31T18:49:18.116774141Z: [INFO] fromCache: false,
2021-08-31T18:49:18.116782041Z: [INFO] expiresOn: 2021-08-31T19:49:17.000Z,
2021-08-31T18:49:18.116789241Z: [INFO] extExpiresOn: 2021-08-31T20:49:16.000Z,
2021-08-31T18:49:18.116796641Z: [INFO] familyId: '',
2021-08-31T18:49:18.116803742Z: [INFO] tokenType: 'Bearer',
2021-08-31T18:49:18.116810842Z: [INFO] state: '',
2021-08-31T18:49:18.116817942Z: [INFO] cloudGraphHostName: '',
2021-08-31T18:49:18.116825242Z: [INFO] msGraphHost: ''
2021-08-31T18:49:18.116832442Z: [INFO] }
2021-08-31T18:49:18.197438362Z: [INFO] appSettings is configured
2021-08-31T18:49:20.344037267Z: [INFO] [Tue, 31 Aug 2021 18:49:20 GMT] : @azure/[email protected] : Info - getTokenCache called
2021-08-31T18:49:20.354556996Z: [INFO] [Tue, 31 Aug 2021 18:49:20 GMT] : @azure/[email protected] : Verbose - initializeRequestScopes called
2021-08-31T18:49:20.355498826Z: [INFO] [Tue, 31 Aug 2021 18:49:20 GMT] : [1c6ac1b3-9aa0-4b3e-af93-f5410854d9c1] : @azure/[email protected] : Verbose - buildOauthClientConfiguration called
2021-08-31T18:49:20.356177847Z: [INFO] [Tue, 31 Aug 2021 18:49:20 GMT] : [1c6ac1b3-9aa0-4b3e-af93-f5410854d9c1] : @azure/[email protected] : Verbose - building oauth client configuration with the authority: https://login.microsoftonline.com/fed95e69-8d73-43fe-affb-a7d85ede36fb
2021-08-31T18:49:20.356903270Z: [INFO] [Tue, 31 Aug 2021 18:49:20 GMT] : [1c6ac1b3-9aa0-4b3e-af93-f5410854d9c1] : @azure/[email protected] : Verbose - createAuthority called
2021-08-31T18:49:20.550870533Z: [INFO] [Tue, 31 Aug 2021 18:49:20 GMT] : [1c6ac1b3-9aa0-4b3e-af93-f5410854d9c1] : @azure/[email protected] : Verbose - Silent flow client created
To not get the routes locked
Azure Ubuntu 20.04,
I have attached the cache, maybe helps.
Thank you and kind regards,
Adrian Badulescu
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.