Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot login with OIDC Google

Hưng Lê Việt
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 29, 2023

Hi all,

I'm setting up the OIDC Google that allows user to login via Google, I followed this link to setup: https://confluence.atlassian.com/enterprise/openid-connect-for-atlassian-data-center-applications-987142159.html.

The problem I'm facing is that I cannot login, the error log thown is:

````

Received SSO request for user hunglv, but the user does not exist

````

I checked in database, the "hunglv" user is already existed:

````

SELECT * FROM app_user where lower_user_name like '%hunglv%';

id         |  user_key                |   lower_user_name

10100  |  "JIRAUSER10100"  |  "hunglv"


SELECT user_name, active FROM cwd_user where user_name like '%hunglv%';

user_name |   active

"hunglv"      |       1

````

Jira software is running in docker-compose:

````

version: '3'

services:
jira:
container_name: jira_test
depends_on:
- postgresql
image: atlassian/jira-software:9.4.5
networks:
- jiratest
volumes:
- jiratest:/var/atlassian
ports:
- '8008:8080'
environment:
- 'ATL_JDBC_URL=jdbc:postgresql://postgresql:5432/jiradb'
- 'ATL_JDBC_USER=jira'
- 'ATL_JDBC_PASSWORD=jira'
- 'SETENV_JVM_MINIMUM_MEMORY=2048m'
- 'SETENV_JVM_MAXIMUM_MEMORY=4096m'
- 'JIRA_PROXY_NAME='
- 'JIRA_PROXY_PORT='
- 'JIRA_PROXY_SCHEME='

postgresql:
container_name: postgres_jira_test
image: postgres:12
ports:
- '5433:5432'
networks:
- jiratest
volumes:
- postgresjiratest:/var/lib/postgresql/data
environment:
- 'POSTGRES_USER=jira'
- 'POSTGRES_PASSWORD=jira'
- 'POSTGRES_DB=jiradb'

volumes:
jiratest:
external: true
postgresjiratest:
external: true

networks:
jiratest:
external: true

````

 

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
9.4.5
TAGS
AUG Leaders

Atlassian Community Events