Skip to content

[go_router] Access to fragment(/#access_token=bla_bla_bla) in router state #108614

@vasilich6107

Description

@vasilich6107

Use case

I'm using Amazon Cognito auth and it sends token in redirect URL as /#access_token=bla_bla_bla
On v4.1 it worked well for me and I was able to access to this fragment in state.location.

On v4.2 there is no more fragment in state.location.

Proposal

Could you expose fragment(#access_token=bla_bla_bla) the same way as you do with state.params?

Metadata

Metadata

Labels

P2Important issues not at the top of the work listc: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterfyi-webFor the attention of Web platform teamp: go_routerThe go_router packagepackageflutter/packages repository. See also p: labels.

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions