Use two different cookies for different consumer services
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- javascript
調査の方向性
このIssueでは hapi-auth-cookie モジュールが挙げられていますが、リポジトリのファイル、テスト、エントリーポイントは提供されていません。まず、認証戦略とCookieオプションがどのように登録されているかを確認し、次に関連するCookie issueと既存のテストを確認してください。管理サービスとクライアント向けサービス用に別々のCookieを定義し、検証できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Support plan
- is this issue currently blocking your project? (yes/no): yes
- is this issue affecting a production system? (yes/no): yes
Context
- node version: 16.13
- module version: 10.0.0
- environment (e.g. node, browser, native): not relevant
- used with (e.g. hapi application, another framework, standalone, ...): hapi application
- any other relevant information:
How can we help?
Hi,
I have an application with a backoffice and multiple client facing websites.
The users of the websites log in using a cookie with hapi-auth-cookie module.
The admins of the backoffice also connect to the hapi server using a cookie.
From what I could see, there is no way to register two different strategies with the hapi-auth-cookie module and have two different cookies used.
Why isn't it possible to register using two different cookies ? One for the admins and one for the normal users ?
I have seen this related issue but I don't want to have different scopes really, I would like to have different cookies.
My API provides data for different services, and as such the cookies should simply be different and not related.
Regards,
Lucas
- 主要言語
- JavaScript
- スター
- 229
- フォーク
- 99
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
hapijs/cookie のほかの issue
-
support
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
-
ttl和keepAlive功能存在bugオープンbug
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
-
feature
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
support
難易度 5/5 1週間以上 初心者へのやさしさ 10/100
-
support
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
obsidianmd/obsidian-help#1169 ·
メンテナーはふだん 2 日以内に返信
-
[docs] RELEASE.md: wrong branch name, no check that the prepare PR merged with the right subject, manual publish step対応中かも @albertteoh が今日担当しました。 オープンdocumentation
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
jaegertracing/jaeger-ui#4739 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
keepassxreboot/keepassxc-browser#3159 · コメント 1 件 ·
-
Add: ESP 2 RSオープンapproved check:passed feeds:add
難易度 1/5 1時間未満 初心者へのやさしさ 67/100