Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow me to get GET params also when the URL uses a '#' instead of a '?' #4490

Open
dentroai opened this issue Dec 5, 2024 · 3 comments
Open
Assignees
Labels
feature request A feature you wanted added to reflex

Comments

@dentroai
Copy link

dentroai commented Dec 5, 2024

Describe the Custom Component
So I'm getting an access token in the URL like that: http://localhost:3000/#access_token=eyJhbGciOiJIUzI....

Seems like self.router.page.params can't get get params if the URL uses a hashtag '#'.

For such cases, I need to access self.router.page.raw_path and parse it myself, which is unnecessary work.

Also parse params for URLs with hashtags!

Additional context
reflex 0.6.0

Copy link

linear bot commented Dec 5, 2024

@Lendemor Lendemor added feature request A feature you wanted added to reflex and removed custom component request labels Dec 6, 2024
@Rustix1604
Copy link

Can I work on this, plz assign it to me.

@picklelo
Copy link
Contributor

@Rustix1604 just assigned you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request A feature you wanted added to reflex
Projects
None yet
Development

No branches or pull requests

4 participants