Hello Masters, I would like to capture the site_id for my following URL https://testchandan.com:5001/ where Dancer2 app is running in order to redirect authorization portal
Please check below app.psgi file. Can you please let me know how i can capture the same and set into below sub.
Please check below app.psgi file
#!/usr/bin/env perl use strict; use warnings; use FindBin; use lib "$FindBin::Bin/../lib"; use webapp; use Net::OAuth2::Client; use Dancer2; get '/get/site_id' => sub { redirect client(params->{site_id})->authorize; }; webapp->to_app;
In reply to How can i capture the site_id in Dancer 2 app? by chandantul
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |