Okta OIDC social login is not available
See original GitHub issueProblem
The documentation for activating Okta OIDC social authentication indicates that when I set the three following environment variables, the login screen will have an option to authenticate using Okta OIDC:
OAUTH_OKTA_OPENIDCONNECT_KEY
OAUTH_OKTA_OPENIDCONNECT_SECRET
OAUTH_OKTA_OPENIDCONNECT_API_URL
This is not happening.
How to reproduce the behaviour
- Run
doccano:1.2.1
image with the following command:
docker run --rm --interactive --tty
--env SECRET_KEY=REDACTED \
--env ADMIN_EMAIL=noreply@example.com \
--env ADMIN_PASSWORD=REDACTED \
--env ADMIN_USERNAME=admin \
--env OAUTH_OKTA_OPENIDCONNECT_KEY=REDACTED \
--env OAUTH_OKTA_OPENIDCONNECT_SECRET=REDACTED \
--env OAUTH_OKTA_OPENIDCONNECT_API_URL=https://my-identity.okta.com/api \
--publish 8000:8000 \
doccano/doccano:1.2.1
- Navigate to
doccano
in your browser at: http://locahost:8000 - Select the “login” button at the top-right of the page
Expected behavior
I expect to see the “Login with Okta” option as depicted in this image
Actual behavior
I end up seeing the same login screen/options that I get when I do not configure Okta OIDC social authentication.
My environment
- I am running the
doccano/doccano:1.2.1
Docker image - I am running behind a enterprise firewall with a SSL packet inspection and enterprise certificate authority. Other applications can perform Okta OIDC SSO in this environment, but app eventually needs to recognize system installed trusted CA chain. I do not expect this to be the source of this problem before we actually submit login credentials, however - there is a possibility.
docker-desktop
v20.10.5 on Windows 10- Above command issued from WSL version 1, running WSL (version 1 with Ubuntu 18.04 LTS) bash:
$ uname -a
Linux MY-PC 4.4.0-18362-Microsoft #1049-Microsoft Thu Aug 14 12:01:00 PST 2020 x86_64 x86_64 x86_64 GNU/Linux
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:21 (7 by maintainers)
Top Results From Across the Web
Okta-to-Okta Social Login fails: The UserInfo response from ...
Hello, It sounds like the issuer URL might be wrong (or mismatched). Can you login to the workforce Org; Navigate to the oidc...
Read more >Amazon - Social Login | Okta Developer
Configure a social Identity Provider so that your users can quickly sign up or sign in to your application by using their social...
Read more >OIDC login redirect not working - Okta Developer forums
I get to okta login page and upon successful login, land up on my company's okta home instead of getting back in my...
Read more >User cant login: "User canceled the social login request"
I tried creating a list of users via script using the okta endpoint: https://{okta_domain}/api/v1/users?provider=true With the credentials ...
Read more >Add a social login (IdP) - Okta Documentation
Key Benefits of Social Authentication. No need to build and maintain your own user database, engineer a sign-on and authentication infrastructure, or manage ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Please reopen this issue.
Tried running this with latest…
When speaking directly to the backend I get a 500 server error, when speaking to the frontend I get a 404 at
social/complete/okta-openidconnect/
+1 to this. Would love to be able to use OIDC on the new login.
The project since that older commit has a lot of improvements that I’d rather keep, and I’m also not familiar enough with Nuxt / Vue. If I have the bandwidth maybe I’ll try to work on it in the future if it’s not resolved by then.