theodo-group / bifrost Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://theodo-group.github.io/bifrost/
License: MIT License
Home Page: https://theodo-group.github.io/bifrost/
License: MIT License
https://github.com/theodo/forge/issues/2287
Hi everyone,
On my project, we had a bug where a user could not authenticate on our platform.
His account was created via a csv import where his email address was uppercased.
As of today, the email check on user login is case sensitive https://github.com/theodo/forge/blob/7f9e8e22e1a7b2977c0ee416716bb2fb5a746f58/nest/src/modules/auth/auth.service.ts#L33
By design, email should be case insensitive: https://stackoverflow.com/a/9808332
2 solutions:
Thanks a lot ! :-)
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
node
, @types/node
)@typescript-eslint/eslint-plugin
, @typescript-eslint/parser
)@vitest/coverage-v8
, vitest
)@docusaurus/core
, @docusaurus/module-type-aliases
, @docusaurus/preset-classic
, @docusaurus/theme-classic
, @docusaurus/tsconfig
, @docusaurus/types
)@commitlint/cli
, @commitlint/config-conventional
)@typescript-eslint/eslint-plugin
, @typescript-eslint/parser
)These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
@commitlint/cli
, @commitlint/config-conventional
).github/actions/cache-node-modules/action.yml
actions/cache v3
.github/actions/cache-package-builds/action.yml
actions/cache v3
.github/actions/get-project-changes/action.yml
nrwl/nx-set-shas v2
.github/actions/install-node-deps/action.yml
actions/setup-node v3
actions/cache v3
.github/actions/lint-and-tests/action.yml
actions/setup-node v3
.github/workflows/pages.yml
actions/checkout v3
actions/setup-node v3
actions/upload-pages-artifact v1
actions/deploy-pages v1
.github/workflows/pr.yml
actions/checkout v3
pnpm/action-setup v2.2.4
actions/setup-node v3
actions/checkout v3
pnpm/action-setup v2.2.4
actions/setup-node v3
actions/checkout v3
pnpm/action-setup v2.2.4
actions/setup-node v3
actions/checkout v3
pnpm/action-setup v2.2.4
actions/setup-node v3
actions/checkout v3
pnpm/action-setup v2.2.4
actions/setup-node v3
postgres 14-alpine
postgres 14-alpine
.github/workflows/starter-build.yml
actions/checkout v3
redhat-actions/buildah-build v2
documentation/package.json
@docusaurus/core 3.0.1
@docusaurus/preset-classic 3.0.1
@docusaurus/theme-classic 3.0.1
@mdx-js/react 3.0.0
clsx 2.0.0
prettier 3.1.1
prism-react-renderer 2.3.1
react 18.2.0
react-dom 18.2.0
@algolia/client-search 4.22.0
@docusaurus/module-type-aliases 3.0.1
@docusaurus/tsconfig 3.0.1
@docusaurus/types 3.0.1
@types/node 20.10.5
@types/react 18.2.45
typescript 5.3.3
node ^20.10.0
package.json
@commitlint/cli 17.7.2
@commitlint/config-conventional 17.7.0
husky 8.0.3
lint-staged 13.3.0
lodash 4.17.21
prettier 3.1.1
syncpack 8.2.4
turbo 1.11.2
typescript 5.3.3
node ^20.10.0
pnpm 8.6.4
packages/create-bifrost-app/package.json
@clack/prompts 0.7.0
@types/async-retry 1.4.8
@types/cross-spawn 6.0.6
@types/node 20.10.5
@types/tar 6.1.10
@types/validate-npm-package-name 4.0.2
@vercel/ncc 0.38.1
@vitest/coverage-v8 1.1.0
async-retry 1.3.3
babel-plugin-module-resolver 5.0.0
commander 11.1.0
concurrently 8.2.2
cross-spawn 7.0.3
dependency-cruiser 15.5.0
got 12.6.1
node-fetch 3.3.2
picocolors 1.0.0
prettier 3.1.1
rimraf 5.0.5
tar 6.2.0
ts-node 10.9.2
typescript 5.3.3
update-check 1.5.4
validate-npm-package-name 5.0.0
vite 5.0.10
vite-tsconfig-paths 4.2.2
vitest 1.1.0
packages/dependency-cruiser-config-custom/package.json
packages/eslint-config-custom/package.json
@typescript-eslint/eslint-plugin 6.15.0
@typescript-eslint/parser 6.15.0
eslint 8.56.0
eslint-config-prettier 9.1.0
eslint-plugin-import 2.26.0
eslint-plugin-prefer-arrow 1.2.3
eslint-plugin-prettier 5.0.1
eslint-plugin-unused-imports 2.0.0
.nvmrc
node 20.10.0
There is an issue with how the frontend handles cookies from the login.
should instead read
getAccessFromResponse(await apiClient.post<unknown>(ApiRoutes.login, data, { withCredentials: true })),
Currently, according to XMLHttpRequest specs (which Axios uses behind the scenes), if the request doesn't have withCredentials: true
, the Cookies in the response headers (set by Set-Cookie
) are simply ignored.
Spent hours debugging why my browser wouldn't use the cookies from the headers, when they were clearly there...
By the way, I guess you should also add the AccessToken in the response cookies, since you'd want to send it via getStaticProps
to have authentication for SSR.
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.