are there other connectors for oauth2? #1499
Unanswered
lekpamartin
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I get an error when I try to add a connector to pingfederate/pingid. I have this error message:
Caused by: io.micronaut.context.exceptions.NoSuchBeanException: No bean of type [io.micronaut.security.oauth2.configuration.OauthClientConfiguration] exists for the given qualifier: @nAmed('github'). Make sure the bean is not disabled by bean requirements (enable trace logging for 'io.micronaut.context.condition' to check) and if the bean is enabled then ensure the class is declared a bean and annotation processing is enabled (for Java and Kotlin the 'micronaut-inject-java' dependency should be configured as an annotation processor).
But if I use github I have a timed out because it try to connect to api.github.com.
{"message":"Internal Server Error: Client 'https://api.github.com': Connect error:connection timed out: api.github.com/140.82.121.6:443","_links":{"self":{"href":"/oauth/callback/github?code=4-YDpq7nbxJs0EAnisKBA914HCfZop280mEAAAAD&state=eyJyZWRpcmVjdFVyaSI6Imh0dHA6Ly9ha2hxLW9ic2VydmFiaWxpdGUtcHJvZC1jb25jZXB0aW9uLm1haWYubG9jYWwvb2F1dGgvY2FsbGJhY2svZ2l0aHViIiwibm9uY2UiOiIwZjc5YzRmZC1hZWJjLTRlOTQtYjAzYS1jOWZhY2Q4Zjc2YmEifQ%3D%3D","templated":false}},"_embedded":{"stacktrace":[{"message":"io.micronaut.http.client.exceptions.HttpClientException: Client 'https://api.github.com': Connect error:connection timed out: api.github.com/140.82.121.6:443\n\tat io.micronaut.http.client.netty.ConnectionManager.lambda$connectForStream$12(ConnectionManager.java:554)\n\tat io.micronaut.http.client.netty.ConnectionManager.lambda$addInstrumentedListener$16(ConnectionManager.java:907)\n\tat io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:590)\n\tat io.netty.util.concurrent.DefaultPromise.notifyListeners0(DefaultPromise.java:583)\n\tat io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:559)\n\tat io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:492)\n\tat io.netty.util.concurrent.DefaultPromise.setValue0(DefaultPromise.java:636)\n\tat io.netty.util.concurrent.DefaultPromise.setFailure0(DefaultPromise.java:629)\n\tat io.netty.util.concurrent.DefaultPromise.tryFailure(DefaultPromise.java:118)\n\tat io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe$1.run(AbstractNioChannel.java:262)\n\tat io.netty.util.concurrent.PromiseTask.runTask(PromiseTask.java:98)\n\tat io.netty.util.concurrent.ScheduledFutureTask.run(ScheduledFutureTask.java:153)\n\tat io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174)\n\tat io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167)\n\tat io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470)\n\tat io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:569)\n\tat io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)\n\tat io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)\n\tat io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)\n\tat java.base/java.lang.Thread.run(Unknown Source)\nCaused by: io.netty.channel.ConnectTimeoutException: connection timed out: api.github.com/140.82.121.6:443\n\tat io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe$1.run(AbstractNioChannel.java:261)\n\t... 10 more\n"}]}}
Any suggestion?
Beta Was this translation helpful? Give feedback.
All reactions