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

Support AUTHGEAR_WEB_SDK_SESSION_TYPE #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

louischan-oursky
Copy link
Contributor

ref DEV-2326

Comment on lines +353 to +363
{{- if (eq .Values.authgear.portalServer.authgear.webSDKSessionType "cookie") }}
- port: 80
targetPort: proxy
protocol: TCP
name: http
{{- else }}
- port: 80
targetPort: portal
protocol: TCP
name: http
{{- end }}
Copy link
Contributor

Choose a reason for hiding this comment

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

I think access token should work with the proxy too so maybe we can simply always use the proxy?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I will not include a separate proxy for the portal in ONCE, so it is better align the deployment. When sessionType=refresh_token, there is no dedicated proxy in front of the portal.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

staging has been updated to use this change now. Encountered an issue https://linear.app/authgear/issue/DEV-2432/validatescopes-does-not-respect-always-allowed-grant-types but that can be worked around by setting grant_types explicitly.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This should be good to merge.

@louischan-oursky louischan-oursky changed the title [DO NOT MERGE YET] Support AUTHGEAR_WEB_SDK_SESSION_TYPE Support AUTHGEAR_WEB_SDK_SESSION_TYPE Jan 15, 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.

2 participants