Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove jenkins file #172

Closed
wants to merge 279 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
279 commits
Select commit Hold shift + click to select a range
f66e43f
Add more wait time after linking in integration tests
Nov 7, 2017
9075d1e
Ignore sample app on lint
Nov 7, 2017
73dba3f
Ignore "jsx-a11y/href-no-hash" on eslint since we're not using react …
Nov 7, 2017
f3306c9
Fix linting
Nov 7, 2017
9ebad6b
Turn ternary conditionals into functions
Nov 9, 2017
72de040
Quick fix
Nov 9, 2017
e50656a
Quick fix
Nov 9, 2017
7062cfc
Merge pull request #11 from francocorreasosa/master
machuga Nov 13, 2017
3bc984c
Merge pull request #16 from auth0-extensions/dynamic-settings
machuga Nov 13, 2017
c11ac37
Change joi version
francocorreasosa Nov 13, 2017
6ec21a9
Rename DB test
francocorreasosa Nov 13, 2017
aa15da0
Merge pull request #18 from auth0-extensions/unit-testing
machuga Nov 13, 2017
742cb56
Merge branch 'rc' into linting-fixes
francocorreasosa Nov 13, 2017
33783fe
Small fix
francocorreasosa Nov 13, 2017
6c6e77f
Syntax fix
francocorreasosa Nov 13, 2017
92888e0
Linting fixes
francocorreasosa Nov 13, 2017
e99ca1f
Merge pull request #19 from auth0-extensions/linting-fixes
machuga Nov 13, 2017
3de0ac6
Stripping out incompatible changes
machuga Nov 14, 2017
a2a4d37
Cleaning up the way the template is rendered & readme
machuga Nov 14, 2017
1a9b0dc
Fixing dependencies that were breaking builds
machuga Nov 14, 2017
2d70a3d
Merge pull request #20 from auth0-extensions/machuga/fix-build
machuga Nov 14, 2017
7805c6d
Use yarn instead of npm
francocorreasosa Nov 14, 2017
87fe2cb
Build extension on CircleCI
francocorreasosa Nov 14, 2017
4d27dec
Use node 6 in CircleCI
francocorreasosa Nov 14, 2017
c34a0b5
Use node 6.10 in CircleCI
francocorreasosa Nov 14, 2017
4b47d9b
Use a shell script to test the bundle because a0-ext does not uses pr…
francocorreasosa Nov 14, 2017
fa389a0
Making the bundle fail to test CircleCI
francocorreasosa Nov 14, 2017
975a286
Fix tests
francocorreasosa Nov 14, 2017
59b591c
Merge pull request #21 from auth0-extensions/fcorrea/circleci-adjustm…
machuga Nov 14, 2017
cac5166
Use winston logger
francocorreasosa Nov 14, 2017
2e25ac1
Merge pull request #22 from auth0-extensions/fcorrea/change-logger
machuga Nov 15, 2017
46cc44f
Merging 2.0 into master
machuga Nov 16, 2017
f6f25c0
Committing 2.0 build artifact
machuga Nov 16, 2017
7233f09
Inline Admin JS
francocorreasosa Nov 17, 2017
b3b9af4
Rebuild bundle
francocorreasosa Nov 17, 2017
2e4c198
Use material-auth0 theme in CodeMirror
francocorreasosa Nov 17, 2017
81df0f0
Merge pull request #24 from auth0-extensions/fcorrea/inline-admin-js
machuga Nov 17, 2017
111c344
Extracting stylesheet helper and linking admin css
machuga Nov 17, 2017
3626ef2
Merge pull request #26 from auth0-extensions/css-fixes
machuga Nov 17, 2017
5cc3e6a
Merge pull request #27 from auth0-extensions/rc
machuga Nov 17, 2017
bad4e4a
Fix stylesheet CDN URL (https:/)
francocorreasosa Nov 18, 2017
2899dd1
Referencing base tag for base URL (2.0.1)
machuga Nov 18, 2017
d5a01e6
Merge branch 'rc'
machuga Nov 18, 2017
45f371a
Uploading proper admin css to cdn on build
machuga Nov 18, 2017
559cae3
Merge branch 'rc'
machuga Nov 18, 2017
69f409f
Adding dist dir for building on jenkins
machuga Nov 18, 2017
7f69b6d
Merge branch 'rc'
machuga Nov 18, 2017
965138a
Fixing absolute redirect in get_index
machuga Nov 18, 2017
4303ac0
Merging 2.0.2
machuga Nov 18, 2017
16b1e71
Fix settings update
francocorreasosa Nov 20, 2017
ebd679b
Rebundle and bump version
francocorreasosa Nov 20, 2017
8c5b378
Merge pull request #29 from auth0-extensions/fcorrea/fix-settings-update
machuga Nov 20, 2017
bc9564c
Merge in 2.0.3 bug fix
machuga Nov 20, 2017
c5c99cd
Update slack channel for Jenkins build reporting
fyockm Nov 21, 2017
ea8cce8
Merge pull request #30 from fyockm/patch-1
machuga Nov 21, 2017
038a2e2
yarn.lock update
francocorreasosa Jan 8, 2018
faa8058
Create new routes for the locale admin panel
francocorreasosa Jan 8, 2018
dbde41e
Split main admin panel into components
francocorreasosa Jan 8, 2018
f8e2b48
Include missing routes in index
francocorreasosa Jan 8, 2018
413dc8c
Create locale admin panel base template
francocorreasosa Jan 8, 2018
d78cab5
Create locale admin panel base code
francocorreasosa Jan 8, 2018
ab8bb82
Render table with locale messages
francocorreasosa Jan 9, 2018
7a9a289
Update locales endpoint
francocorreasosa Jan 9, 2018
2e6b95b
Serve saved locales
francocorreasosa Jan 9, 2018
cf203eb
Improve frontend to load and update saved locales
francocorreasosa Jan 9, 2018
76a1016
Include missing updates
francocorreasosa Jan 9, 2018
c91cbd5
Add toastr lib
francocorreasosa Jan 9, 2018
84233d2
Add JSON.stringify shim to fix ES6 transpilation ReferenceError when …
francocorreasosa Jan 9, 2018
d58ebe3
Add new locales (random id, custom name)
francocorreasosa Jan 9, 2018
f43f3b9
Add usage support to custom locales
francocorreasosa Jan 9, 2018
b620f50
Fix tests
francocorreasosa Jan 9, 2018
db63d5a
Increase test timeout.
francocorreasosa Jan 9, 2018
47a1793
Add default locale
francocorreasosa Jan 9, 2018
8d77330
Fix promise chains
francocorreasosa Jan 10, 2018
0df6eed
Simplify locale function resolution.
francocorreasosa Jan 10, 2018
63307b4
Change logo link path
francocorreasosa Jan 10, 2018
11c28cc
Identity provider name humanizer
francocorreasosa Jan 10, 2018
3ee25c5
Pass user's identities to the template
francocorreasosa Jan 10, 2018
bd79f4a
Allow the user to delete locales
francocorreasosa Jan 10, 2018
18c3cab
Fixes and rebundle
francocorreasosa Jan 12, 2018
8fc865c
Fixes and rebundle
francocorreasosa Jan 12, 2018
6e6c7ef
Bump version (2.1.0) and rebuild
francocorreasosa Jan 12, 2018
3835cab
Merge pull request #31 from auth0-extensions/fcorrea/add-locale-manag…
machuga Jan 12, 2018
c4a89ac
Update locales
francocorreasosa Jan 15, 2018
b6494a5
Add string array humanizer module
francocorreasosa Jan 15, 2018
d631397
Make the template to use the new string
francocorreasosa Jan 15, 2018
6c1b34b
Make the locale resolver function to fallback to pre-defined locales …
francocorreasosa Jan 15, 2018
2c9a3b0
Humanize user identities
francocorreasosa Jan 15, 2018
5c9bc61
Merge branch 'fcorrea/add-current-idp-in-linking-widget' of github.co…
francocorreasosa Jan 15, 2018
c7731ad
Localize 'or'
francocorreasosa Jan 16, 2018
e2aed97
Rebundle
francocorreasosa Jan 16, 2018
306a099
Merge branch 'rc' into fcorrea/add-current-idp-in-linking-widget
francocorreasosa Jan 16, 2018
888fcac
Show locale code in admin panel selector
francocorreasosa Jan 16, 2018
d85d5f8
Revert "Show locale code in admin panel selector"
francocorreasosa Jan 16, 2018
80bccc4
Show locale code in admin panel selector
francocorreasosa Jan 16, 2018
c8fc1f6
Fix #33: Fails if email is not set (IE Twitter)
francocorreasosa Jan 16, 2018
4aa17b5
Rebundle
francocorreasosa Jan 16, 2018
9b580b8
Merge pull request #37 from auth0-extensions/fcorrea/fails-if-email-n…
machuga Jan 16, 2018
c4700d5
Merge branch 'rc' into fcorrea/add-current-idp-in-linking-widget
francocorreasosa Jan 16, 2018
aaac5bd
PR Feedback Fixes
francocorreasosa Jan 17, 2018
5575b49
Merge branch 'fcorrea/add-current-idp-in-linking-widget' of github.co…
francocorreasosa Jan 17, 2018
87eab17
Add humanizer tests
francocorreasosa Jan 17, 2018
84347eb
Add two items array testing in humanizer tests.
francocorreasosa Jan 17, 2018
5b061eb
Use a regex to match {{identities}}.
francocorreasosa Jan 17, 2018
d05d6a8
Rebundle
francocorreasosa Jan 17, 2018
3f59e57
Fix typo.
francocorreasosa Jan 17, 2018
061adf1
Merge pull request #35 from auth0-extensions/fcorrea/add-current-idp-…
machuga Jan 17, 2018
9e287e4
Fix #34: opaque access_token returned (expecting JWT).
francocorreasosa Jan 18, 2018
1ae40de
Rebundle.
francocorreasosa Jan 18, 2018
b2b7b9e
Fix #34: opaque access_token returned (expecting JWT).
francocorreasosa Jan 18, 2018
1d14d38
Rebundle.
francocorreasosa Jan 18, 2018
48686f7
Bring idp changes
francocorreasosa Jan 19, 2018
1518b9c
Merge pull request #40 from auth0-extensions/fcorrea/fix-getting-an-o…
machuga Jan 19, 2018
051074d
Allow custom code when adding a new locale. Add help button to help t…
francocorreasosa Jan 22, 2018
1437d66
Use user_metadata.locale if available.
francocorreasosa Jan 22, 2018
239a307
Fix in IdP name
francocorreasosa Jan 22, 2018
8f10fda
Bump version to 2.1.2 and rebundle
francocorreasosa Jan 22, 2018
1038983
Merge 2.1.1 into master
machuga Jan 23, 2018
d1fa354
Include base url in header routes
francocorreasosa Jan 23, 2018
4e25cdc
Fix router
francocorreasosa Jan 23, 2018
6c5b5d8
Rebuild
francocorreasosa Jan 23, 2018
403fc6f
Merge pull request #42 from auth0-extensions/fcorrea/wt-fixes
machuga Jan 23, 2018
b78ea35
Merge 2.1.1 fix into master
machuga Jan 23, 2018
3c4618b
Add on-update hook in order to update the rule.
francocorreasosa Jan 29, 2018
8182f21
Bump version to 2.1.3 because of PR #43 and rebundle.
francocorreasosa Jan 29, 2018
f933c9f
Bump to 2.2.0.
francocorreasosa Jan 29, 2018
bce514b
Merge pull request #43 from auth0-extensions/fcorrea/on-update-path
machuga Jan 30, 2018
f95cc0b
Fixes.
francocorreasosa Jan 31, 2018
e899e02
Allow custom code when adding a new locale. Add help button to help t…
francocorreasosa Jan 22, 2018
c59f5d0
Use user_metadata.locale if available.
francocorreasosa Jan 22, 2018
c67194d
Fix in IdP name
francocorreasosa Jan 22, 2018
e196b1b
Bump version to 2.1.2 and rebundle
francocorreasosa Jan 22, 2018
6d545d9
Fixes.
francocorreasosa Jan 31, 2018
5425fed
Rebase rc
francocorreasosa Jan 31, 2018
93ef44f
Merge pull request #41 from auth0-extensions/fcorrea/locale-enhancements
machuga Feb 19, 2018
9f48b01
Ignore vim swap files, yarn error log, and secrets
kusold Apr 4, 2018
384a806
Remove babel. Switch to using module.exports
kusold Apr 4, 2018
29cdef5
Eslint --fix
kusold Apr 4, 2018
4876800
Manually fix the remaining eslint issues
kusold Apr 4, 2018
3eaf40f
Fix bad exports, including a circular dependency
kusold Apr 4, 2018
857e3d1
Bye babel
kusold Apr 4, 2018
6c5c1ae
Eslint --fix
kusold Apr 4, 2018
5dee528
Upgrade deps
kusold Apr 4, 2018
6ca0ca5
Fix CI
kusold Apr 4, 2018
b23cc1a
Document necessary env variable
kusold Apr 4, 2018
5163217
Upgrade request due to vuln
kusold Apr 4, 2018
08ee0af
Trigger circle
kusold Apr 4, 2018
9aa00ec
Build the bundle
kusold Apr 24, 2018
586f546
add comma to readme
kusold Apr 24, 2018
7a92f4c
Bring back externals. Bundle anything that isn't ommitted. Set the no…
kusold Apr 24, 2018
bfa3286
auth0-extensions-cli to 1.1.0
kusold Apr 25, 2018
d390c40
Add @babel/runtime as a peer dependency
kusold Apr 26, 2018
056ea6e
Rebuild bundle
kusold Apr 26, 2018
5ce0b41
Minor version bump
kusold Apr 27, 2018
a8f9261
Merge pull request #45 from kusold/node_upgrade
fyockm May 4, 2018
e9c8587
rule fix + onUpdate
May 4, 2018
4b7ca0f
hoek added to externals; unnecessary hook removed
May 4, 2018
18cb1e2
Merge pull request #47 from zxan1285/rule-fix-n8
fyockm May 4, 2018
179c79e
Merge branch 'rc'
fyockm Jun 4, 2018
50fd0d6
force webtask storage context update
fyockm Jun 5, 2018
3a6a276
Build 2.3.0
fyockm Jun 5, 2018
7beb1f7
Merge pull request #48 from auth0-extensions/zd-42130
FadyMak Jun 8, 2018
c1081e5
Fix request version
fyockm Jun 12, 2018
1bed9d8
rule fix + onUpdate
May 4, 2018
c07e6d4
unnecessary hook removed
May 4, 2018
2dc85c7
fix for new tenants
May 7, 2018
3ac507b
rule fixed, conflicts resolved
zxan1285 Jun 19, 2018
a36968f
latest changes from upstream
zxan1285 Jun 19, 2018
4081818
Merge pull request #49 from zxan1285/rule-fix
fyockm Jun 20, 2018
9d21de9
build 2.3.2
fyockm Jun 20, 2018
48c4dd5
undefined user_metadata fixed
zxan1285 Jun 21, 2018
7fa18c2
Merge pull request #50 from zxan1285/user-metadata
fyockm Jun 27, 2018
9dbdf3b
Apply required changes to migrate from blue Jenkins to core CI Jenkins
TheJefe Jul 17, 2018
e9c6c4e
Merge pull request #52 from TheJefe/jk/migrate_jenkins
fyockm Jul 17, 2018
dd5e0ea
Update node version
Jul 17, 2018
4429f7b
[Automated Script] Added PR Template
FadyMak Aug 29, 2018
81dcc2e
[Automated Script] Add stale config.
shawnmclean Oct 16, 2018
7c520d5
public wt url fix for stage2
zxan1285 Apr 16, 2019
8234e4a
Merge pull request #58 from zxan1285/public-url-fix
zxan1285 Apr 19, 2019
23a12c6
fixed redirect logic
ademartini Jan 28, 2020
b781632
version bump
ademartini Jan 28, 2020
365d535
unit-test fix
ademartini Jan 28, 2020
0c154c4
fix css paths
ademartini Jan 28, 2020
84f1fe9
Update README.md
ademartini Jan 28, 2020
4cdfeb8
Update README.md
ademartini Jan 28, 2020
71e14c5
Update README.md
ademartini Jan 28, 2020
1a30b2f
another css fix
ademartini Jan 29, 2020
c67ec9a
Update bundle.js
ademartini Jan 29, 2020
8bc8d05
Merge pull request #64 from auth0-extensions/issues/IUM-812-redux
ademartini Jan 29, 2020
b31adad
Added Japanese translation
luckpoint Jun 12, 2020
0167394
Merge pull request #71 from luckpoint/master
ian-speers Jun 12, 2020
837e06b
Remove artifactory from yarn.lock
shawnmclean Jun 19, 2020
97a7221
[ESD-7040] add support for response_mode parameter (#72)
siacomuzzi Jun 19, 2020
31e44ee
Add missing id provider mapping for AD
mathiasconradt Jul 7, 2020
7192b32
Merge pull request #74 from mathiasconradt/master
ian-speers Jul 10, 2020
5c1f3b7
fix: tweak to always link the new accounts to the first one
fernandobd42 Aug 21, 2020
3f9e274
refactor: fix lint complain
fernandobd42 Aug 21, 2020
8a07698
Update idProviders.js
RyGuyM Aug 24, 2020
045b480
Merge pull request #81 from fernandobd42/fix/always-linking-to-the-fi…
ian-speers Aug 24, 2020
d3914ca
[ESD-8265] fix introduction text when user has multiple identities
siacomuzzi Aug 25, 2020
dad27bc
2.6.0
siacomuzzi Aug 25, 2020
312dc96
Merge pull request #83 from siacomuzzi/improve_intro_text
ian-speers Aug 25, 2020
359fda9
add LICENSE
siacomuzzi Aug 26, 2020
4e084fe
Merge pull request #86 from siacomuzzi/patch-1
madsharm Aug 26, 2020
b2ed4d1
[ESD-8609] avoid unhandled error when user locale is invalid/unsupported
siacomuzzi Sep 17, 2020
8e3e2f7
Merge pull request #89 from siacomuzzi/handle_invalid_locale
ademartini Sep 17, 2020
5bd2149
2.6.1
siacomuzzi Sep 17, 2020
7efa27c
Merge pull request #90 from siacomuzzi/2.6.1
ademartini Sep 17, 2020
7c50a77
remove 3rd party dependencies
luisbritos Jan 28, 2021
acdf1ab
new bundle
luisbritos Jan 28, 2021
2528132
fix lint
luisbritos Jan 28, 2021
cabca5a
Merge pull request #82 from RyGuyM/master
luisbritos Feb 1, 2021
5ddbd9f
Merge pull request #95 from auth0-extensions/IUM-1335-remove-external…
luisbritos Feb 1, 2021
9f9e6a3
fix: make custom css path absolute
madsharm Mar 25, 2021
9800db2
add tests and change README
madsharm Mar 26, 2021
cbd7476
fix test case
madsharm Mar 26, 2021
e6c003c
Update test/unit/stylesheet_test.js
madsharm Apr 6, 2021
cc0fe21
Update test/unit/stylesheet_test.js
madsharm Apr 6, 2021
72b11fc
Update test/unit/stylesheet_test.js
madsharm Apr 6, 2021
4e10226
Remove link to internal doc
madsharm Apr 6, 2021
48e0217
fix test case
madsharm Apr 6, 2021
40ca0ac
Merge pull request #102 from madsharm/ium-1080
madsharm Apr 7, 2021
ed31bd3
release 2.6.3
madsharm Apr 8, 2021
13c8cd5
Merge pull request #104 from madsharm/release_2.6.3
madsharm Apr 8, 2021
ddc3cd8
release 2.6.4
madsharm Apr 8, 2021
9eb31b3
Merge pull request #106 from madsharm/release_2.6.4
madsharm Apr 8, 2021
c19a6c4
adds build directory to ignore list
andre-auth0 Jun 29, 2021
327027c
adds build directory to ignore list
andre-auth0 Jun 29, 2021
8d68eb8
adds babel option to avoid TypeError:... module.exports read-only
andre-auth0 Jun 29, 2021
15a7ebb
Use https://registry.yarnpkg.com/
andre-auth0 Jun 30, 2021
63f4057
updates circle-ci node version
andre-auth0 Jun 30, 2021
071368e
Adds lint:fix command
andre-auth0 Jun 30, 2021
a5553f8
Makes linter happy
andre-auth0 Jun 30, 2021
f20d56c
removes build from .gitignore
andre-auth0 Jun 30, 2021
1a23417
restores bundle.js
andre-auth0 Jun 30, 2021
e82954a
bumps version
andre-auth0 Jun 30, 2021
e653ac6
preVersion to actual version in prodwq
andre-auth0 Jun 30, 2021
c9cc05b
fix build script to match extension name generated
andre-auth0 Jul 5, 2021
dbc1f02
IUM-1464 Fix bundle generation to avoid babel inserting imports state…
andre-auth0 Jul 8, 2021
5f7a196
IUM-1930 updated/created markdown files
TimLawton-Auth0 Apr 1, 2022
35e6541
Update CODEOWNERS
TimLawton-Auth0 Apr 1, 2022
5f29e1b
Update CONTRIBUTING.md
TimLawton-Auth0 Apr 7, 2022
323ddef
Update CONTRIBUTING.md
TimLawton-Auth0 Apr 18, 2022
4068f85
Merge pull request #132 from auth0-extensions/IUM-1930-repo-ownership…
TimLawton-Auth0 Apr 22, 2022
2ac9fe6
Create semgrep.yml
lostinauth0 Jul 31, 2023
03c1057
Merge pull request #162 from auth0-extensions/add-semgrep
lostinauth0 Aug 1, 2023
13b9e04
remove jenkins file from extension
lakshmi-auth0 Oct 14, 2024
dddcabd
remove jenkins file
lakshmi-auth0 Oct 15, 2024
1daa8c8
Revert "remove jenkins file"
lakshmi-auth0 Oct 15, 2024
b4cef3d
running build
lakshmi-auth0 Oct 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions .babelrc

This file was deleted.

6 changes: 4 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
build:
docker:
# specify the version you desire here
- image: circleci/node:boron
- image: node:erbium

# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
Expand All @@ -26,12 +26,14 @@ jobs:
# fallback to using the latest cache if no exact match is found
- v1-dependencies-

- run: yarn install
- run: yarn

- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ checksum "package.json" }}

# run tests!
- run: yarn run lint
- run: yarn test
- run: ./test/bundle_test.sh
6 changes: 6 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
node_modules/**
integration/**
sample-app/**
build/**
test/**
dist/**
5 changes: 3 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"mocha": true
},
"rules": {
"jsx-a11y/href-no-hash": "off",
"import/no-extraneous-dependencies": "off"
},
"plugins": [
]
"plugins": []
}
62 changes: 62 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
## ✏️ Changes

> DESCRIPTION GOES HERE. Try to describe both what is changing and why this is important
> - Make sure you run when adding / updating a package
> - What did you change from a design standpoint?
> - What did you change in the code itself?
> - If you are updating a dependency, explain why this is needed.

## 📷 Screenshots

If there were visual changes to the application with this change, please include before and after screenshots here. If it has animation, please use screen capture software like to make a gif.

## 🔗 References

> Include at at least one link to an explanation + requirements for this change, and more if at all possible. Typically this is a Jira/GitHub Issue, but could also be links to Zendesk tickets, RFCs, rollout plan or Slack conversations (for Slack conversations, make sure you provide a summary of the conversation under “Changes”).

## 🎯 Testing

> Describe how this can be tested by reviewers. Please be specific about anything not tested and reasons why.
> - Make sure you add unit and integration tests.
> - If this is on a hot path, add load or performance tests
> - Especially for dependency updates we also need to make sure that there is no impact on performance.

✅🚫 This change has been tested in a Webtask

✅🚫 This change has unit test coverage

✅🚫 This change has integration test coverage

✅🚫 This change has been tested for performance

## 🚀 Deployment

> Can this change be merged at any time? What will the deployment of the change look like? Does this need to be released in lockstep with something else?

✅🚫 This can be deployed any time

> or
> ⚠️ This should not be merged until:
> - Other PR is merged because REASON
> - After date because REASON
> - Other condition: REASON

## 🎡 Rollout

> Explain how the change will be verified once released. Manual testing? Functional testing?

In order to verify that the deployment was successful we will …

## 🔥 Rollback

> Explain when and why we will rollback the change.

We will rollback if …

### 📄 Procedure

> Explain how the rollback for this change will look like, how we can recover fast.

## 🖥 Appliance

**Note to reviewers:** ensure that this change is compatible with the Appliance.
2 changes: 2 additions & 0 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Configuration for https://github.com/auth0-extensions/.github/
_extends: .github
18 changes: 18 additions & 0 deletions .github/workflows/semgrep.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Semgrep

on:
pull_request_target: {}
push:
branches: ["master", "main"]
jobs:
semgrep:
name: Scan
runs-on: ubuntu-latest
container:
image: returntocorp/semgrep
if: (github.actor != 'dependabot[bot]' && github.actor != 'snyk-bot')
steps:
- uses: actions/checkout@v3
- run: semgrep ci
env:
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
9 changes: 7 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
node_modules
.idea
.DS_Store
.nyc_output
server/config.json
server/config.test.json
coverage
.env
dist
dist/*.js
dist/assets/*.css
tags
TAGS
data.json
data.json
*.swp
yarn-error.log
secrets
2 changes: 2 additions & 0 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Code owners are automatically requested for review when someone opens a pull request that modifies code that they own.
* @auth0-extensions/iam-user-management-engineer
39 changes: 39 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@

# Contributing to Auth0 projects

A big welcome and thank you for considering contributing to the Auth0 projects. It’s people like you that make it a reality for users in our community.

Reading and following these guidelines will help us make the contribution process easy and effective for everyone involved. It also communicates that you agree to respect the time of the developers managing and developing these open source projects. In return, we will reciprocate that respect by addressing your issue.

### Quicklinks

* [Code of Conduct](#code-of-conduct)
* [Getting Started](#getting-started)
* [Making Changes](#making-changes)
* [Getting in Touch](#getting-in-touch)
* [Got a question or problem?](#got-a-question-or-problem?)
* [Vulnerability Reporting](#vulnerability-reporting)

## Code of Conduct

By participating and contributing to this project, you are expected to uphold our [Code of Conduct](https://github.com/auth0/open-source-template/blob/master/CODE-OF-CONDUCT.md).

## Getting Started

### Making Changes

To contribute to a repository, the first step is to open a support ticket

[Opening a ticket] (https://auth0.com/docs/troubleshoot/customer-support/open-and-manage-support-tickets).

## Getting in touch

### Have a question or problem?

Please do not open issues for general support or usage questions. Instead, join us over in the Auth0 community at [community.auth0.com](https://community.auth0.com) and post your question there in the correct category with a descriptive tag.

### Vulnerability Reporting

Please do not report security vulnerabilities on the public GitHub issue tracker. The [Responsible Disclosure Program](https://auth0.com/whitehat) details the procedure for disclosing security issues.

# More Information about this service is located in README.md at the root of this repository
67 changes: 0 additions & 67 deletions Jenkinsfile

This file was deleted.

21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2016 Auth0

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
35 changes: 28 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,23 @@ with an existing registered with the same email address from a different provide

## Running in Development


Update the configuration file under `./server/config.json`:

```json
{
"EXTENSION_SECRET": "mysecret",
"AUTH0_DOMAIN": "me.auth0.com",
"AUTH0_CLIENT_ID": "myclientid",
"AUTH0_CLIENT_SECRET": "myclientsecret",
"WT_URL": "http://localhost:3000"
"EXTENSION_SECRET": "mysecret",
"AUTH0_DOMAIN": "me.auth0.com",
"AUTH0_CLIENT_ID": "myclientid",
"AUTH0_CLIENT_SECRET": "myclientsecret",
"WT_URL": "http://localhost:3000",
"AUTH0_CALLBACK_URL": "http://localhost:3000/callback"
}
```

Then you can run the extension:

```bash
nvm use 8
yarn install
yarn run build
yarn run serve:dev
Expand All @@ -43,4 +44,24 @@ In order to run the tests you'll have to [start the extension server locally](ht
Then, you can run the tests running:
```bash
yarn test
```
```

## Release Process

Deployment is currently done using this tool: https://auth0-extensions.us8.webtask.io/extensions-deploy

First bump the version in `package.json` and in `webtask.json`

Then build the extension:

```bash
nvm use 8
yarn install
yarn run build
```

Bundle file (`auth0-account-link.extension.VERSION.js` is found in `/dist`
Asset CSS files are found in `/dist/assets`

Follow the instructions in the deployment tool. This tool will also automatically generate a PR in the `auth0-extensions` repo. Only after the PR is merged will the extension be available in production. Before merging the PR you can use this tool to test the upgrade: https://github.com/auth0-extensions/auth0-extension-update-tester by overriding the `extensions.json` file that is fetched by the dashboard. You will need to clone this repo: https://github.com/auth0/auth0-extensions, update `extensions.json` locally and then run `npx http-server --port 3000 --cors` to serve up the file. Then configure the extension with `http://localhost:3000/extensions.json` as the path.

9 changes: 6 additions & 3 deletions api/admin/get_index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import tools from 'auth0-extension-tools';
import config from '../../lib/config';
const template = require('../../templates/server/admin');
const config = require('../../lib/config');
const stylesheet = require('../../lib/stylesheet');

module.exports = () => ({
method: 'GET',
Expand All @@ -8,6 +9,8 @@ module.exports = () => ({
auth: false
},
handler: (req, reply) => {
reply.view('admin');
const stylesheetHelper = stylesheet(config('NODE_ENV') === 'production');

reply(template({ stylesheetTag: stylesheetHelper.tag('admin'), baseURL: config('PUBLIC_WT_URL') }));
}
});
18 changes: 18 additions & 0 deletions api/admin/get_locale_index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
const template = require('../../templates/server/locale');
const config = require('../../lib/config');
const stylesheet = require('../../lib/stylesheet');

module.exports = () => ({
method: 'GET',
path: '/admin/locale',
config: {
auth: false
},
handler: (req, reply) => {
const stylesheetHelper = stylesheet(config('NODE_ENV') === 'production');

reply(
template({ stylesheetTag: stylesheetHelper.tag('admin'), baseURL: config('PUBLIC_WT_URL') })
);
}
});
Loading
Loading