Skip to content

fix: allow non-HTTP URIs in OAuth2 provider redirect URIs#18880

Closed
ThomasK33 wants to merge 1 commit into
thomask33/07-14-feat_oauth2_add_bulk_token_revocation_endpoint_with_usage_trackingfrom
thomask33/07-15-fix_oauth2_allow_custom_uri_schemes_without_reverse_domain_notation_for_native_apps
Closed

fix: allow non-HTTP URIs in OAuth2 provider redirect URIs#18880
ThomasK33 wants to merge 1 commit into
thomask33/07-14-feat_oauth2_add_bulk_token_revocation_endpoint_with_usage_trackingfrom
thomask33/07-15-fix_oauth2_allow_custom_uri_schemes_without_reverse_domain_notation_for_native_apps

Conversation

@ThomasK33

Copy link
Copy Markdown
Member

Changed OAuth2 redirect URI validation to accept custom URI schemes

This PR updates the validation for OAuth2 provider app redirect URIs to use the more flexible uri validator instead of the stricter http_url validator. This allows for custom URI schemes that don't follow reverse domain notation, while still blocking well-known schemes like http, https, ftp, etc.

The change removes the requirement that custom schemes must contain a period, making the validation more permissive for various client applications while maintaining security by continuing to block well-known schemes.

@ThomasK33
ThomasK33 force-pushed the thomask33/07-15-fix_oauth2_allow_custom_uri_schemes_without_reverse_domain_notation_for_native_apps branch from 80b2b40 to a29e00a Compare July 17, 2025 13:43
@ThomasK33
ThomasK33 force-pushed the thomask33/07-14-feat_oauth2_add_bulk_token_revocation_endpoint_with_usage_tracking branch from 4e82d80 to 8830706 Compare July 17, 2025 13:43
@ThomasK33
ThomasK33 force-pushed the thomask33/07-15-fix_oauth2_allow_custom_uri_schemes_without_reverse_domain_notation_for_native_apps branch from a29e00a to 63934b4 Compare July 17, 2025 14:38
@ThomasK33
ThomasK33 force-pushed the thomask33/07-14-feat_oauth2_add_bulk_token_revocation_endpoint_with_usage_tracking branch from 8830706 to 13de8e2 Compare July 17, 2025 14:38
@ThomasK33
ThomasK33 force-pushed the thomask33/07-15-fix_oauth2_allow_custom_uri_schemes_without_reverse_domain_notation_for_native_apps branch from d9ecda1 to 0b47133 Compare July 17, 2025 16:25
@ThomasK33
ThomasK33 force-pushed the thomask33/07-14-feat_oauth2_add_bulk_token_revocation_endpoint_with_usage_tracking branch from 13de8e2 to b4a9dbd Compare July 23, 2025 16:53
@ThomasK33
ThomasK33 force-pushed the thomask33/07-15-fix_oauth2_allow_custom_uri_schemes_without_reverse_domain_notation_for_native_apps branch from 0b47133 to 99e7a7b Compare July 23, 2025 16:53
@github-actions github-actions Bot added the stale This issue is like stale bread. label Jul 31, 2025
@github-actions github-actions Bot closed this Aug 3, 2025
@ThomasK33 ThomasK33 removed the stale This issue is like stale bread. label Aug 12, 2025
@ThomasK33 ThomasK33 assigned Emyrk and unassigned ThomasK33 Aug 12, 2025
@ThomasK33 ThomasK33 reopened this Aug 12, 2025
@ThomasK33
ThomasK33 force-pushed the thomask33/07-15-fix_oauth2_allow_custom_uri_schemes_without_reverse_domain_notation_for_native_apps branch from 99e7a7b to c2346ff Compare August 12, 2025 16:34
@ThomasK33
ThomasK33 force-pushed the thomask33/07-14-feat_oauth2_add_bulk_token_revocation_endpoint_with_usage_tracking branch from b4a9dbd to 72cf224 Compare August 12, 2025 16:34
@github-actions github-actions Bot added the stale This issue is like stale bread. label Aug 20, 2025
@github-actions github-actions Bot closed this Aug 24, 2025
@Emyrk Emyrk reopened this Aug 24, 2025
@github-actions github-actions Bot removed the stale This issue is like stale bread. label Aug 25, 2025
@github-actions github-actions Bot added the stale This issue is like stale bread. label Sep 1, 2025
@github-actions github-actions Bot closed this Sep 5, 2025
@ThomasK33
ThomasK33 deleted the thomask33/07-15-fix_oauth2_allow_custom_uri_schemes_without_reverse_domain_notation_for_native_apps branch September 15, 2025 07:52
@ThomasK33
ThomasK33 restored the thomask33/07-15-fix_oauth2_allow_custom_uri_schemes_without_reverse_domain_notation_for_native_apps branch September 15, 2025 07:53
@Emyrk Emyrk reopened this Oct 6, 2025
@ThomasK33
ThomasK33 force-pushed the thomask33/07-14-feat_oauth2_add_bulk_token_revocation_endpoint_with_usage_tracking branch from 72cf224 to 2f53936 Compare October 10, 2025 14:42
@ThomasK33
ThomasK33 force-pushed the thomask33/07-15-fix_oauth2_allow_custom_uri_schemes_without_reverse_domain_notation_for_native_apps branch 2 times, most recently from 0490c9e to 7591e5a Compare October 10, 2025 14:53
@ThomasK33
ThomasK33 force-pushed the thomask33/07-14-feat_oauth2_add_bulk_token_revocation_endpoint_with_usage_tracking branch from 2f53936 to 6467b3a Compare October 10, 2025 14:53
… for native apps

Change-Id: I4000cd39caa994efe0b76c4984e968f2963063ca
Signed-off-by: Thomas Kosiewski <tk@coder.com>
@ThomasK33
ThomasK33 force-pushed the thomask33/07-14-feat_oauth2_add_bulk_token_revocation_endpoint_with_usage_tracking branch from 6467b3a to 5a9b69e Compare October 10, 2025 14:57
@ThomasK33
ThomasK33 force-pushed the thomask33/07-15-fix_oauth2_allow_custom_uri_schemes_without_reverse_domain_notation_for_native_apps branch from 7591e5a to 10e1305 Compare October 10, 2025 14:57
@github-actions github-actions Bot removed the stale This issue is like stale bread. label Apr 9, 2026
@github-actions github-actions Bot added the stale This issue is like stale bread. label Apr 30, 2026
@github-actions github-actions Bot closed this May 9, 2026
@github-actions
github-actions Bot deleted the thomask33/07-15-fix_oauth2_allow_custom_uri_schemes_without_reverse_domain_notation_for_native_apps branch May 9, 2026 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stale This issue is like stale bread.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants