Skip to content

docs: document OAuth/forum auth changes in 2.0 upgrade guide - #511

Merged
imorland merged 1 commit into
mainfrom
im/oauth-auth-docs
Mar 15, 2026
Merged

docs: document OAuth/forum auth changes in 2.0 upgrade guide#511
imorland merged 1 commit into
mainfrom
im/oauth-auth-docs

Conversation

@imorland

Copy link
Copy Markdown
Member

Summary

Adds a new OAuth / Forum Auth section to the 2.0 upgrade guide covering the breaking changes and new features introduced alongside the redirect-only OAuth overhaul (flarum/framework#4461 + FriendsOfFlarum/oauth#109).

What's documented

  • ResponseFactory::make() new $returnTo argument and RedirectResponse return type
  • ForumApplication::authenticationComplete() removal
  • makeLoggedInResponse() and makeRegistrationResponse() promoted to protected (with override example)
  • New POST /api/registration-token endpoint
  • _flarum_auth and _flarum_linked query parameter behaviour
  • SignUpModal field label addition
  • Warning pointing to fof/oauth upgrade notes for the companion package changes

Related PRs

Covers ResponseFactory::make() signature change, removal of authenticationComplete(),
makeLoggedInResponse/makeRegistrationResponse promoted to protected, the new
POST /api/registration-token endpoint, _flarum_auth and _flarum_linked query params,
and SignUpModal label additions. Includes a warning pointing developers to the
fof/oauth upgrade notes for the companion package changes.
@imorland
imorland merged commit de0a3ed into main Mar 15, 2026
1 check passed
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.

1 participant