Questions tagged [quarkus-oidc]

Questions about Quarkus OpenID Connect Extension. This component protects your JAX-RS applications using Bearer Token Authorization where Bearer Tokens are issued by OpenId Connect and OAuth 2.0 compliant Authorization Servers such as Keycloak.

51 questions
1
vote
0 answers

Can we mix between OIDC authentication and basic authentication in Quarkus?

I am building rest services by Quarkus, I have some endpoints that are authenticated by keycloak, but some are authenticated by basic authentication. Can I do that in Quarkus ? Thanks a lot.
mret
  • 13
  • 4
0
votes
0 answers

Quarkus: 401 for permitted route when request contains Bearer token

I got the following scenario: I'm migrating a legacy application into a new Quarkus based application. For routes addressing the legacy API, Quarkus is dealing as a proxy. The requirement is, that all routes that point to the legacy API, are…
Sören
  • 11
  • 2
0
votes
0 answers

Quarkus: Implementing a resource server with external authorization server

I am currently building a REST API for a web app that I'd like to put behind some authentication to ensure that the user only sees what they are supposed to see (e.g. their organization). However, I don't want to deal with saving sensitive user data…
0
votes
0 answers

Logging in through Keycloak with Selenium devservice

I have a Quarkus webservice that used oidc to perform auth, and handle the login flow. This works great in devmode. However, tests make this a bit harder. I'm leveraging a Selenium testcontainer to provide a browser instance within a docker…
Snappawapa
  • 1,697
  • 3
  • 20
  • 42
0
votes
1 answer

New Keycloak Realm not providing roles for app login

I'm working on setting up Keycloak to be my auth provider, using OIDC. My app is written using Quarkus. I am creating a new realm using the following steps: Enter Keycloak Admin Console Under realm dropdown, hit "Create Realm". Name it oqm. Realm…
Snappawapa
  • 1,697
  • 3
  • 20
  • 42
0
votes
0 answers

Quarkus OIDC- Hybrid application type. How to specify type at endpoint level

I am working on setting up OIDC on my app, which has both regular REST endpoints, and UI ones. I want to setup the OIDC auth flow for the UI endpoints, and a simpler 401 situation for the other REST endpoints. I noticed that…
Snappawapa
  • 1,697
  • 3
  • 20
  • 42
0
votes
0 answers

Quarkus renarde and Keycloak

Is there any way to use Keycloak as OIDC solution with Renarde? It is something that I would like to do for a company I am building different solutions for but couldn't find nothing in the documentation.
Daniel W.
  • 71
  • 7
0
votes
0 answers

How to @Inject JsonWebToken when having both quarkus-smallrye-jwt and quarkus-oidc in Quarkus application

In my Quarkus application, there are two types of authentication: Locally => I'm using quarkus-smallrye-jwt to authen local. io.quarkus quarkus-smallrye-jwt SSO via…
0
votes
0 answers

Quarkus keycloack authorization using OidcIdentityProvider

I am stuck with web socket authentication in quarkus with keycloak. I am using vert.x event bus and SockJSocket for the connection. For the rest end point i was able to do that authentication. But I want to use that authentication provider to…
0
votes
1 answer

How to deal with Quarkus OIDC cookie expiration and Ajax requests CORS failure?

I have a Quarkus + Primefaces (server side rendered) web app which is using Quarkus OIDC integration. Configured like…
zeppelinux
  • 11
  • 3
0
votes
0 answers

Keycloack Wiremock testing a custom extension

I am building an extension to support my company's internal and external SSO options. All other things being equal... given this sample block of code... @QuarkusTestResource(OidcWiremockTestResource.class) class SsoAutowiredTest { …
0
votes
1 answer

Quarkus OIDC behind proxy on different port

I use Quarkus and its OIDC extension to allow users to authenticate via Google. When the quarkus apps is exposed to the public everything works great. Now I want to put it behind a proxy. And that's where things fail When Quarkus constructs the…
Billy Billy
  • 423
  • 4
  • 14
0
votes
1 answer

Off the shelf component for Signup Validation and Reset

I use Quarkus and know you can setup login and signup with OIDC. But most sites offer not only OIDC but also standard username/ password registration. So I was wondering if there are standard off the shelf components for following…
Billy Billy
  • 423
  • 4
  • 14
0
votes
1 answer

Is it possible to chain Smallrye Uni on the OIDC client

I'm attempting to add offline token (API) access to an application. I'm looking to take an "Authorization: API $REFRESH_TOKEN" header and sending it through the oidc client to convert to an access/bearer token before having the bearer token used…
Anthony Heaney
  • 146
  • 1
  • 6
0
votes
0 answers

Quarkus OIDC client (2.13.3) calls endpoint in test execution

I Have a service which injects io.quarkus.oidc.client.Tokens looks like: @ApplicationScoped public class MyService { @Inject Tokens tokens; ... When I start a test it actually makes the call to the OIDC endpoint which is a silly default…
syr
  • 836
  • 1
  • 12
  • 28