Closed
Description
We have a case where the redirect URLs are dynamic. I.e. something like http://*.ourdomain.com
. It's something we don't have any control over. It's for our own apps, so the clients are trusted.
Since there doesn't seem to be a way for auth code flow to not use redirect URLs from the model, I'm wondering over if a wildcard solution is the way to go.
Instead of doing string matching (in here: https://github.com/thomseddon/node-oauth2-server/blob/master/lib/authCodeGrant.js#L107-L126), the code should match agains wildcards with *
characters. In that case, we can store redirect URLs in the model, just like it is now, but the comparison would change.
Metadata
Metadata
Assignees
Labels
No labels