Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

OpenID - "Oops - an error has occurred"

I'm trying to setup OID with Amazon Cognito. I setup everything as needed but when I open Confluence and login with the SSO details, I get the following error:


    at com.atlassian.plugins.authentication.impl.web.oidc.OidcConsumerServlet.doGet(

 Googling around I found some similar errors but their solutions didn't apply to my case, at least not as far as I know.

Any help would be appreciated :)

2 answers

1 accepted

0 votes
Answer accepted

Hi @Daniel
Welcome to the Atlassian Community.

If you check the application logs you may have an error related to this issue, together with a stack trace.

Could you please paste that here?

Kind regards,
Thiago Masutti

Can you paste a screenshot of the OIDC configuration in Confluence?
You may redact some information if needed.

Thanks @Daniel 

On Username mapping you need to use ${sub} instead of just sub.
See if that works.

Have you manually added any information on the Additional settings section?
Have you faced any error when using the automatic configuration?

If so, check if you have access to to your Amazon Cognito tenant from the Confluence server.
Maybe running the following command will help with ensuring network connection is possible from the server.

telnet <your-tenant> 443

Let us know the results.

Kind regards,
Thiago Masutti

I tried ${sub} before I used sub, that didn't change anything .

I manually added the information in additional settings because it couldn't recognize those automatically. I opened a thread about it earlier actually but thought it might be resolved thanks to editing everything manually. 

443 port seems to be open:

[ec2-user@confluence ~]$ nc -zv 443
Ncat: Version 7.50 ( )
Ncat: Connected to IP:443.
Ncat: 0 bytes sent, 0 bytes received in 0.02 seconds.


Just added a comment on the other thread  and it should fix this problem as well

@Thiago Masutti Thank you! Now it can fetch the info automatically, but I'm facing a new issue when I'm logging in.


I created a local user in my Cognito pool and when I login, I get the following error:

We can't log you in right now

Please contact your administrator.

Technical details

And here's a long list of errors: com.atlassian.plugins.authentication.impl.web.usercontext.impl.jit.JitException -

That's great, @Daniel 

That issue is related to the JIT user provisioning feature.

What if you create the same user in the Confluence internal directory, disable JIT provisioning and try the authentication?

Note that you are using OIDC sub as the username mapping, so that should be the username in Confluence as well.

With this we will at least guarantee the authentication flow is working fine and then focus on JIT.

Kind regards,
Thiago Masutti

0 votes

Hey @Thiago Masutti

Just wanted to drop-in and update we've managed to overcome this,

What if you create the same user in the Confluence internal directory, disable JIT provisioning and try the authentication?

This definitely worked.

JIT user provisioning failed for us due to the fact the the local user Cognito pool we were testing with, users were not part of any group. Once a group was created and populated with users, JIT provisioning worked and we've managed to log-in!

Thanks a bunch for the help!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

🥓🙅🏻‍♀️ Meet-less May Badge!

Hello Confluence Community!  What if i told you that you could have a healthier life and be 100% meet-less? This month, we're promoting a healthy, balanced work diet with Confluence. We la...

201 views 2 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you