Skip to content

Commit 2668cb6

Browse files
committed
Sync documentation of main branch
1 parent 317db07 commit 2668cb6

File tree

3 files changed

+44
-1
lines changed

3 files changed

+44
-1
lines changed

_generated-doc/main/infra/quarkus-all-build-items.adoc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7223,7 +7223,11 @@ a| https://github.com/quarkusio/quarkus/blob/main/extensions/resteasy-reactive/r
72237223
[.description]
72247224
--
72257225
Represents a JAX-RS resource that is generated. Meant to be used by extension that generate JAX-RS resources as part of their build time processing
7226-
-- a|`java.lang.String name`
7226+
-- a|`java.lang.String binaryName`
7227+
7228+
_No Javadoc found_
7229+
7230+
`java.lang.String internalName`
72277231

72287232
_No Javadoc found_
72297233

_versions/main/guides/flyway.adoc

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -448,3 +448,27 @@ quarkus.openshift.init-task-defaults.wait-for-container.image=my/wait-for-image:
448448
----
449449

450450
**Note**: In this context globally means `for all extensions that support init task externalization`.
451+
452+
== Known Issues in Flyway
453+
454+
=== Oracle: Multiple schemas in Dev Services
455+
456+
When having multiple schemas in Oracle, you can use the `quarkus.flyway.schemas` property to specify the schemas that Flyway should manage.
457+
However, because this is executed in the DB as the `quarkus` user, you need to either give DBA privileges to the user that is executing the migration (`quarkus`) or perform the necessary DDLs before the Dev Service starts. This is done with the `quarkus.datasource.devservices.init-script-path` configuration.
458+
459+
==== Giving DBA privileges to the user
460+
461+
- In your application, create a SQL file named `001-devservice-init.sql` (for ordering purposes, it can be any name really) in your `src/main/resources` with the following content:
462+
463+
[source,sql]
464+
----
465+
ALTER SESSION SET CONTAINER=quarkus;
466+
GRANT DBA TO quarkus;
467+
----
468+
469+
- Add the following configuration to your `application.properties`:
470+
471+
[source,properties]
472+
----
473+
quarkus.datasource.devservices.init-script-path=001-devservice-init.sql
474+
----

_versions/main/guides/security-openid-connect-providers.adoc

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,21 @@ quarkus.oidc.client-id=<Client ID>
230230
quarkus.oidc.credentials.secret=<Secret>
231231
----
232232

233+
[NOTE]
234+
====
235+
By default, Quarkus GitHub provider submits the client id and secret in the HTTP Authorization header.
236+
However, GitHub may require that both client id and secret are submitted as form parameters instead.
237+
When you get HTTP 401 error after logging in to GitHub and being redirected back to Quarkus MCP server,
238+
replace the `quarkus.oidc.credentials.secret=<Secret>` property
239+
with the following two properties instead:
240+
241+
[source,properties]
242+
----
243+
quarkus.oidc.credentials.client-secret.method=post
244+
quarkus.oidc.credentials.client-secret.value=<Secret>
245+
----
246+
====
247+
233248
`quarkus.oidc.provider=github` will request GitHub to add a `user:email` scope to issued access tokens. For information about overriding this scope or requesting more scopes, see the <<provider-scope>> section.
234249

235250
TIP: You can also send access tokens issued by GitHub to `quarkus.oidc.application-type=service` or `quarkus.oidc.application-type=hybrid` Quarkus applications.

0 commit comments

Comments
 (0)