-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feature : integrate new package version to examples #31
Feature : integrate new package version to examples #31
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #31 +/- ##
=======================================
Coverage 36.20% 36.20%
=======================================
Files 21 21
Lines 1555 1555
Branches 288 288
=======================================
Hits 563 563
Misses 936 936
Partials 56 56 ☔ View full report in Codecov by Sentry. |
README.md
Outdated
|
||
const config = new Corbado.Config(projectID, apiSecret); | ||
const config = new Config(projectID, apiSecret, frontendAPI, backendAPI); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
its not Corbado.Config anymore, is that correkt? Corbado.SDK() "stayed" :)
examples/identifier/index.js
Outdated
|
||
const router = express.Router(); | ||
const config = new Config( | ||
'pro-1', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pro-1 is "scary" because its our own :)
examples/identifier/index.js
Outdated
const router = express.Router(); | ||
const config = new Config( | ||
'pro-1', | ||
'corbado1_hALCgZhe3oSwec8Hr2ZuF9w4DZAo9w', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dont commit api secret
work with env file for examples maybe?
examples/session/index.js
Outdated
config.setBackendAPI('https://api.corbado-dev.com') | ||
const config = new Config( | ||
'pro-1', | ||
'corbado1_hALCgZhe3oSwec8Hr2ZuF9w4DZAo9w', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here, see above
No description provided.