-
Notifications
You must be signed in to change notification settings - Fork 0
Conversation
Deploying with
|
Latest commit: |
cd34c52
|
Status: | ✅ Deploy successful! |
Preview URL: | https://5db46444.meline.pages.dev |
Branch Preview URL: | https://feat--4-add-auth.meline.pages.dev |
DockerComposeのprodが動かない、buildが.になってるっぽい |
|
GetGithubOAuthToken(ctx context.Context, code string) (string, error) | ||
GetGithubUser(ctx context.Context, token string) (*entity.OAuthUserResponse, error) | ||
CreateAccessToken(ctx context.Context, user *entity.User) (string, error) | ||
GenerateState(b int) string |
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.
b -> length
) | ||
|
||
const ( | ||
b = 32 |
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.
STATE_LENGTH
.env.example
Outdated
@@ -9,3 +7,7 @@ GITHUB_CLIENT_ID="" | |||
GITHUB_CLIENT_SECRET="" | |||
|
|||
JWT_SECRET="test-jwt-secret" | |||
|
|||
ENV="development" | |||
# ENV="prod" |
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.
prod -> production
.env.example
Outdated
|
||
ENV="development" | ||
# ENV="prod" | ||
FRONT_CALLBACK_URL="http://localhost/ |
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.
FRONT_CALLBACK_URL="http://localhost/"
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.
お疲れ様
No description provided.