<https://lh3.googleusercontent.com/-_SmeOAjLXac/VloeICBR0kI/AAAAAAAAAIk/TAXfIfNp4kI/s1600/Selection_096.jpg>
Maybe I'm doing something dumb here? On Saturday, November 28, 2015 at 4:30:56 PM UTC-5, Jason D wrote: > > I think you're right. I don't see anything in $c->req that looks like my > url params. > > On Saturday, November 28, 2015 at 4:14:50 PM UTC-5, Dan Book wrote: >> >> But also this may not work at all because the fragment is normally not >> passed to the backend, and is only used for javascript. >> >> On Sat, Nov 28, 2015 at 4:13 PM, Dan Book <[email protected]> wrote: >> >>> That is the fragment, which you can access as $c->req->url->fragment. If >>> you want to parse it like query parameters you could do something like my >>> $params = Mojo::Parameters->new($c->req->url->fragment); >>> >>> On Sat, Nov 28, 2015 at 4:08 PM, Jason D <[email protected]> wrote: >>> >>>> I'm trying to connect to a site using this Oauth2 plugin >>>> https://metacpan.org/pod/Mojolicious::Plugin::OAuth2 >>>> >>>> have a '/connect' route that makes the request to the site for user >>>> access. >>>> >>>> The site then redirects back to '/got' route and sends the url params >>>> that I need -- access token and user id. The problem is that I have no >>>> idea how to access these params. None of the normal methods seem to work. >>>> >>>> >>>> I think the problem is in the request url. It's in this form: >>>> '/got/#param1=XXXXX¶m2=XXXXXX' >>>> >>>> If I change the '#' to a '?' I have no problem accessing the params >>>> using the param method. >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Mojolicious" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> To post to this group, send email to [email protected]. >>>> Visit this group at http://groups.google.com/group/mojolicious. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> >> -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/mojolicious. For more options, visit https://groups.google.com/d/optout.
