vapor-community / Imperial

Federated Authentication with OAuth providers
MIT License
155 stars 48 forks source link

Callback URL registered incorrectly if using route groups #43

Open 0xTim opened 4 years ago

0xTim commented 4 years ago

When registering callback URLs with Imperial using router.oAuth, if the router is registered on a route group (e.g. /api) then it registers the callback url on the application incorrectly (such as under /api/api)