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

Deploy to AKS but unauthorization #8952

Closed
nguyenthanhtien opened this issue Mar 22, 2024 · 1 comment
Closed

Deploy to AKS but unauthorization #8952

nguyenthanhtien opened this issue Mar 22, 2024 · 1 comment

Comments

@nguyenthanhtien
Copy link

Bug Description

I already deploy n8n using AKS of Azure. But i have problem when first time i try to login.
I'm using this repo to deploy to azure: https://github.com/n8n-io/n8n-kubernetes-hosting
image

To Reproduce

  1. Install n8n on AKS.
  2. First time access n8n will create account.
  3. n8n navigate to workflow.
  4. It's show "Unauthorized"

Expected behavior

Login to n8n success and Authorized.

Operating System

Azure AKS

n8n Version

latest

Node.js Version

null

Database

PostgreSQL

Execution mode

main (default)

@Joffcom
Copy link
Member

Joffcom commented Mar 22, 2024

Hey @nguyenthanhtien,

This is happening because you are using http and not https, You can set the N8N_SECURE_COOKIE env option to false if you plan to continue using HTTP or you can configure n8n / your reverse proxy to use HTTPS which is the preferred option.

From version 1.34.0 we display a big warning when you login over HTTP to mention this.

As this is something that has been fixed already I am going to mark this as closed, let me know if you have any questions on this.

@Joffcom Joffcom closed this as completed Mar 22, 2024
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

No branches or pull requests

2 participants