Skip to content

feat(auth): add scopeSeparator parameter to GenericOAuthConfig#2119

Open
iNaD wants to merge 1 commit intotempestphp:3.xfrom
iNaD:add-scope-seperator-config
Open

feat(auth): add scopeSeparator parameter to GenericOAuthConfig#2119
iNaD wants to merge 1 commit intotempestphp:3.xfrom
iNaD:add-scope-seperator-config

Conversation

@iNaD
Copy link
Copy Markdown

@iNaD iNaD commented Apr 15, 2026

Currently the scopeSeperator option of the \League\OAuth2\Client\Provider\GenericProvider is not configurable using \Tempest\Auth\OAuth\Config\GenericOAuthConfig.

To support OIDC login correctly (e.g. providing additional scope data) the separator for scopes has to be a space %20 instead of a %2C.

I added a test to verify behavior if the option is omitted and when the option is different from the default.

Also updated the docs to include the parameter, if this is unwanted I can update the PR reverting the doc change.

Fixes #2118

@iNaD iNaD requested review from brendt and innocenzi as code owners April 15, 2026 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make scope separator in GenericOAuthConfig configurable

1 participant