When I was working on implementing Rodauth Omniauth with a Prefix URL, I noticed that when my Omniauth request to /auth/:provider, the redirect URI included the prefix URL twice.
For example,https://www.linkedin.com/oauth/v2/authorization?client_id=86aeer6zhrqq9e&redirect_uri=http://127.0.0.1:3000/api/v1/api/v1/auth/linkedin/callback&response_type=code&scope=r_emailaddress+r_liteprofile&state=SOME_STATE.
As you can see, /api/v1/api/v1 should probably just be/api/v1`. I have a sample repository here.
Hey @janko!
When I was working on implementing Rodauth Omniauth with a Prefix URL, I noticed that when my Omniauth request to
/auth/:provider
, the redirect URI included the prefix URL twice.For example,
https://www.linkedin.com/oauth/v2/authorization?client_id=86aeer6zhrqq9e&redirect_uri=http://127.0.0.1:3000/api/v1/api/v1/auth/linkedin/callback&response_type=code&scope=r_emailaddress+r_liteprofile&state=SOME_STATE
.As you can see,
/api/v1/api/v1 should probably just be
/api/v1`. I have a sample repository here.