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

テナント一覧機能作成 #2

Merged
merged 1 commit into from
Jun 23, 2024
Merged

Conversation

jFujiya
Copy link
Collaborator

@jFujiya jFujiya commented Jun 14, 2024

ユースケース検討シートの下記項目の対応を行いました。

5 デモアプリ作成(React) テナント一覧(Front) テナント一覧表示

jwtToken = res.data.id_token;
localStorage.setItem("SaaSusIdToken", jwtToken);

await sleep(1);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

このsleepは必要な感じでしょうか

Copy link
Collaborator Author

@jFujiya jFujiya Jun 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

implementation-sample-front-react/src/pages/UserPage.tsx
上記を参考に作成した処理になります。

コメントで

// JWTを更新してすぐ使用すると、Token used before used エラーになるため。
// ref: dgrijalva/jwt-go#383

と記載されていたので、必要なsleepだと思っております。

@jFujiya jFujiya merged commit 26f0706 into feature/addition Jun 23, 2024
@jFujiya jFujiya deleted the feature/tenant_list branch June 23, 2024 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants