32 Commits
Author SHA1 Message Date
mvdbeek 8b65f72da2 Merge branch 'release_26.2' into dev 2026-10-22 06:21:05 +02:00
mvdbeek 816984c225 Merge branch 'release_26.1' into release_26.2 2026-10-22 06:20:06 +02:00
mvdbeek 4be574e0f1 Lead the login redirect admin docs with what admins configure
Start with when to set allowed_login_redirect_hosts and how a site links
to the login page, then the entry rules, what trusting a host means and
how to tell why a target was refused. Drop details of how the check
works.
2026-10-20 15:18:40 +02:00
mvdbeek ea1937be25 Document what allowed_login_redirect_hosts trusts
Cover percent-encoding the target, the entry format, the log message for
refused targets, when users land on the linked identities page instead,
and what trusting a host implies.
2026-10-17 12:00:39 +02:00
mvdbeek c47d6ad234 Add allowed_login_redirect_hosts for post-login redirects
Admins can list external https hosts that the login redirect may send
users back to. is_safe_login_redirect accepts what is_safe_local_redirect
accepts plus https URLs on those hosts; root.login and password login use
it, and the client's logged-in guard follows allowed external targets.
The option is empty by default, which keeps the current behaviour.

LoginForm no longer runs the returned redirect through encodeURI, which
double-encoded percent-escapes already in the target.
2026-10-17 12:00:32 +02:00
John Chilton 2114bf5215 Clarify the structure and examples of OIDC parameter documentation 2026-10-14 17:54:12 -04:00
John ChiltonandClaude Opus 5.5 65aa3e2b90 Document OIDC authorization request parameters
acr_values, login_hint, max_age, ui_locales and display already work through
oidc_config.xml Setters (social-auth-core >= 4.7.0), per provider via the PSA
backend-name prefix. Document the prefix rule, the names that differ from the
provider name, and that acr_values is a request Galaxy does not verify.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 17:28:09 -04:00
mvdbeek d9f62971b2 Merge branch 'release_26.1' into dev
OIDC account confirmation (#24084 via 26.0/26.1): dev's PKCE cookie
code goes away the same way as on 26.1, and the integration test helpers
drop the remove_cookie option. The two dev-only authenticate() scope tests
patch out FlowState, since their mocked do_auth sets no OAuth state.
flow_state.py gets the type arguments dev's strict mypy needs. The
NewUserConfirmation tests are ported to Vue 3 test utils (props/global,
setValue, currentRoute.value, aria-disabled on GButton).

#24071: keep dev's requests-based http.py, as the PR asks; port the two
tests whose behaviour dev shares (unsafe query characters are encoded,
already-encoded URLs are unchanged) to the responses mock. Dev normalizes
invalid and unreserved escapes and IDNA-encodes hosts, so the other new
26.1 tests don't apply.

The pulsar-galaxy-lib cap (#24056) is not carried to dev, per that PR.
2026-10-13 19:15:40 +02:00
mvdbeek ed11b49a6a Merge branch 'release_26.0' into release_26.1
Port the OIDC account confirmation fix to 26.1's PSA backend. The
authentication record in FlowState now carries the PKCE code verifier
to the callback, replacing the encrypted verifier cookie from #23836
(the cookie helpers, their constants and the cookie test go away, and
the admin PKCE docs describe the server-side record). Deferred account
creation keeps 26.1's activation policy (create_and_activate_oidc_user)
and the GALAXY_TRANS pipeline config. The Keycloak integration tests
keep 26.1's driver restart and extra_provider_config setup.

Keep the pulsar-galaxy-lib <0.16 cap on top of 26.1's >=0.15.15 floor.
2026-10-13 19:07:56 +02:00
mvdbeek f997319747 Merge branch 'release_26.1' into dev
# Conflicts:
#	client/src/components/BaseComponents/GTip.vue
#	client/src/components/Common/EmailReportForm.vue
#	client/src/components/Common/ItemListEditor.vue
#	client/src/components/ConfigTemplates/VaultSecret.vue
#	client/src/components/GalaxyAI.test.ts
#	client/src/components/GalaxyWizard.test.ts
#	client/src/components/GalaxyWizard.vue
#	client/src/components/Libraries/LibraryFolder/LibraryFolder.vue
#	client/src/components/Libraries/LibraryPermissions/PermissionsInputField.vue
#	client/src/components/Login/LoginForm.vue
#	client/src/components/Markdown/Sections/Elements/HistoryDatasetCollection/CollectionTree.vue
#	client/src/components/Markdown/Sections/Elements/HistoryDatasetDetails.vue
#	client/src/components/Register/RegisterForm.vue
#	client/src/components/Tool/ToolForm.vue
#	client/src/components/Tool/ToolSourceSchema.json
#	client/src/components/Upload/UploadContainer.vue
#	client/src/components/Workflow/Editor/Index.test.ts
#	client/src/components/Workflow/Editor/Index.vue
#	client/src/components/Workflow/Invocation/Graph/WorkflowInvocationSteps.vue
#	client/src/entry/analysis/App.vue
#	client/src/stores/historyStore.ts
#	lib/galaxy/authnz/psa_authnz.py
#	lib/galaxy/config/__init__.py
#	lib/galaxy/tool_util/parser/yaml.py
#	lib/galaxy/tool_util_models/__init__.py
#	lib/galaxy/tools/__init__.py
#	lib/galaxy/tools/execute.py
#	lib/galaxy/util/unittest_utils/__init__.py
#	lib/galaxy_test/api/test_workflows.py
#	lib/tool_shed/webapp/api2/repositories.py
#	test/integration/oidc/test_auth_oidc.py
#	test/unit/workflows/test_trs_proxy.py
2026-10-02 10:53:08 +02:00
mvdbeek dc82335961 Refuse PKCE logins that reach the callback without a code verifier
With pkce_support enabled, a callback without a verifier (cookie blocked,
expired, or removed) now fails in Galaxy before the token request, with a
message pointing at the cookie. The login no longer depends on the IdP
rejecting a code exchange without a verifier.

The PKCE session key and the new exception live in oidc_utils, so
psa_authnz and managers import without the conditional pkce dependency;
galaxy.tools.data_fetch_utils imports psa_authnz on every Galaxy server.
2026-10-01 10:57:28 +02:00
mvdbeek 4259ee02e7 Limit the PKCE verifier cookie to ten minutes and SameSite=Lax 2026-10-01 10:57:27 +02:00
mvdbeek 1e6b8cf5ae Document PKCE support for OIDC providers 2026-10-01 10:57:27 +02:00
mvdbeek 57ec8a189b Merge branch 'release_26.1' into dev 2026-09-08 13:45:17 +02:00
mvdbeek 0f1e64cb7d Move OIDC provider removal notes under Database Tables and refresh stale authentication docs 2026-09-02 19:10:30 +02:00
mvdbeek 63e0f5576e Document what happens to OIDC identity rows when a provider is removed or renamed 2026-09-02 19:10:30 +02:00
benjamin b7896c13a6 docs: fix typos 2026-06-14 13:18:21 +00:00
Nicola Soranzo c2eebd0bbe Fix `'myst' cross-reference target not found` warnings
Also:
- Use auto-generated table of contents in tool schema
2023-03-27 15:07:21 +01:00
Martin Cech e236d6919a update the admin activation docs 2023-02-28 13:08:11 -08:00
Mahendra Paipuri c9487b851f Improve wording based on PR comments 2023-01-09 15:16:40 +01:00
mahendrapaipuri 3cf26d3b4d Address PR comments 2022-12-11 17:31:38 +01:00
mahendrapaipuri 04b52c7686 Add documentation about ldap3 auth provider 2022-10-24 21:45:11 +02:00
Marius van den BeekandNicola Soranzo a5dc788bf3 Tweak wording and example for verifying remote_ip in custom LDAP authenticator
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
2022-10-17 10:33:29 +02:00
mahendrapaipuri c0002c1ffb Update authentication documentation with an example on how to use request object in auth flows 2022-10-14 09:46:59 +02:00
Helena 85fafd5a06 Merge pull request #11384 from martenson/auth-docs
fix broken docs links
2021-02-16 11:20:28 +01:00
Martin Cech 99d0fae2fe fix broken links, clarify 2021-02-16 11:13:53 +01:00
Peter Selten 5f82d22417 Update documentation for Okta 2019-03-09 02:31:22 +01:00
Nicola Soranzo d5b306dd21 Remove OpenID auth from docs
Follow-up on https://github.com/galaxyproject/galaxy/pull/7028 .
2019-01-21 17:44:34 +00:00
Vahid 1009047626 Add OIDC and OAuth2.0 config to authentication docs 2018-04-17 13:33:41 -07:00
John Chilton ba35d474a0 yaml_config - update admin docs for switch to YAML config. 2017-12-06 20:28:20 -05:00
E Rasche 2f992d90ae Rebase 2017-06-01 16:43:21 +00:00
John Chilton d505fcf260 New Authentication section of the docs.
I pulled in this doc https://galaxyproject.org/develop/authentication/ which was very dated and somewhat incorrect and I filled it out with more details, updated configuration information, and a whole new section on the authentication framework. I also pulled in this doc https://galaxyproject.org/admin/user-accounts/ which was pretty good and I left it largely unchanged.

Rebased to fix index inclusion and with edits suggested by :eagle:👀.
2017-03-14 14:35:35 -04:00