You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't see an issue template format and I haven't contributed much to OSS yet so forgive me if this is messy.
First, this is a great package! It worked very well for me, and I'd love to help make it even better.
I think it would make sense to set auth0_rule_namespace via environment (or through some other means, but environment is what seems simplest to me). I'd be happy to make a PR with the changes. This would allow users to set their own namespace for the rule in auth0. It would just change this line:
Because the data model referencing this variable is not declared in the main Auth0 class. I think you could do it somehow with workarounds but with really ugly code.
I don't see an issue template format and I haven't contributed much to OSS yet so forgive me if this is messy.
First, this is a great package! It worked very well for me, and I'd love to help make it even better.
I think it would make sense to set
auth0_rule_namespace
via environment (or through some other means, but environment is what seems simplest to me). I'd be happy to make a PR with the changes. This would allow users to set their own namespace for the rule in auth0. It would just change this line:fastapi-auth0/src/fastapi_auth0/auth.py
Line 15 in 66578c4
to be:
auth0_rule_namespace: str = os.getenv('AUTH0_RULE_NAMESPACE', 'https://github.com/dorinclisu/fastapi-auth0')
Do you think that'd work fine? If so, I'd be thrilled to make a PR for it (I know it's very small but I figure I'd start small).
The text was updated successfully, but these errors were encountered: