-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
feat(adapter-nextjs): server-side auth flows integrating cognio hosted UI #13827
base: hui/feat/adapter-nextjs/2-auth-api-handlers
Are you sure you want to change the base?
feat(adapter-nextjs): server-side auth flows integrating cognio hosted UI #13827
Conversation
"alwaysStrict": true | ||
"alwaysStrict": true, | ||
"lib": [ | ||
"esnext" |
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.
The base tsconfig has jsdom as a lib, that makes origin
variable a legit global variable which is not desired.
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.
Existing impl. moved out.
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.
Existing impl. moved out.
6087817
to
ae36b32
Compare
path: '/', | ||
httpOnly: true, | ||
secure: true, |
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.
These three attributes are not configurable.
ae36b32
to
621d0cb
Compare
25c4eaa
to
26ec9ed
Compare
621d0cb
to
284acbf
Compare
Description of changes
Implemented the following flow integrating Cognito Hosted UI endpoints:
API Route handlers work with both Next.js App Router and Pages Router.
Issue #, if available
Description of how you validated changes
Checklist
yarn test
passesChecklist for repo maintainers
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
…ide auth…ide auth…ide auth