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

feat(oidc-auth): optional cookie domain #919

Merged

Conversation

maemaemae3
Copy link
Contributor

@maemaemae3 maemaemae3 commented Jan 2, 2025

closes: #760

Summary

I want to add a environment variable OIDC_COOKIE_DOMAIN that allows to set domain cookie attribute, which will enhance usage of authentication

Changes

  • Added a configuration option OIDC_COOKIE_DOMAIN

Testing

  • Tested case of environment value set and not set
  • Verified no impact on authentication flow.

Tasks

  • Add tests
  • Run tests
  • yarn changeset at the top of this repo and push the changeset
  • Follow the contribution guide

Copy link

changeset-bot bot commented Jan 2, 2025

🦋 Changeset detected

Latest commit: ccce717

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@hono/oidc-auth Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Member

@yusukebe yusukebe left a comment

Choose a reason for hiding this comment

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

LGTM!

@yusukebe
Copy link
Member

yusukebe commented Jan 5, 2025

Hi @maemaemae3

Thank you for the PR. Looks good. Let's go with it.

@yusukebe yusukebe merged commit 4a0606f into honojs:main Jan 5, 2025
1 check passed
@maemaemae3 maemaemae3 deleted the feature/oidc-auth-specify-cookie-domain branch January 5, 2025 09:23
@github-actions github-actions bot mentioned this pull request Jan 5, 2025
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.

Custom redirect uri for @hono/oidc-auth
2 participants