question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

REST API and OpenID Connect plugins conflict

See original GitHub issue

Hello everyone, we are getting an exception when starting a jmix project with REST API and OpenID Connect plugins installed:

Caused by: java.lang.IllegalStateException: @Order on WebSecurityConfigurers must be unique. Order of 200 was already used on io.jmix.autoconfigure.oidc.OidcAutoConfiguration$OAuth2LoginSecurityConfiguration$$EnhancerBySpringCGLIB$$c6383a3d@2e8edc36, so it cannot be used on io.jmix.autoconfigure.securityoauth2.SecurityOAuth2AutoConfiguration$Oauth2AuthorizationServerConfiguration@255c2e7e too.

jmix verions: 1.3.1

Could you, please, take a look? Thank you in advance!

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
gorbunkovcommented, Aug 4, 2022

The order of OAuth2LoginSecurityConfiguration has been changed. At least there will be no error on application start.

1reaction
gorbunkovcommented, Aug 4, 2022

With that done, I have a problem, that CORS is not enabled. When switching to jmix 1.2.3 CORS works fine again.

We have a forum for answering questions and discussing problems: https://forum.jmix.io. Could you please describe your case there? I think it will be a better place than the current github issue:)

Read more comments on GitHub >

github_iconTop Results From Across the Web

OpenID Connect plugin - Kong Docs
OpenID Connect (1.0) plugin allows the integration with a 3rd party identity provider (IdP) in a standardized way. This plugin can be used...
Read more >
REST API - Gerrit Code Review
Gerrit Code Review comes with a REST like API available over HTTP. The API is suitable for automated tools to build upon, as...
Read more >
OAuth Single Sign On – SSO (OAuth Client) - WordPress.org
This WordPress Single Sign-On ( OAuth / OpenID Connect SSO ) plugin supports Login with AWS Cognito, Login with Amazon, Login into WordPress...
Read more >
Add Custom Authentication to an Exposed REST API
In the Logic tab, open the Integrations folder. · Select the exposed REST API you want to change and set its Authentication property...
Read more >
Confluent Cloud API Reference Documentation
Most of the APIs are organized around REST and the resources which make up Confluent Cloud. ... The Connect v1 API group has...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found