-
-
Notifications
You must be signed in to change notification settings - Fork 797
Description
Steps to reproduce
I'm working on a project where I need to set the oAuth redirect URL dynamically (I need to set the domain or subdomain dynamically). I've read that this is possible in the latest version of Feathers (#990). However, I've struggled to make this work in practice. Looking at the code, it seems that it is not possible to dynamically set the redirect URL -- what I see in the code here just uses the redirect URL from the environment variables: https://github.com/feathersjs/feathers/blob/master/packages/authentication-oauth/src/strategy.ts#L75
Expected behavior
I'd like to be able to dynamically set the redirect URL, changing the domain or subdomain. This seems to be possible with Grant directly, but I can't see how to do this with Feathers.
Actual behavior
I can't see any way to do this! Would really appreciate your advice on how to do this (if it's possible)
System configuration
Tell us about the applicable parts of your setup.
Module versions (especially the part that's not working):
Feathers v4 (latest)