Hsiaoming Yang
Hsiaoming Yang
You can create a PR for it.
@bnewbold I'd like to accept a PR.
When Authlib v0.13 is released, loginpass will have a new release too.
@gsemet @rubendibattista @mavaras I'm pleased to receive PRs about Starlette integration. Also, I'm looking for funding about Authlib and its related projects:
If using `openid`, the scope can be as short as `openid email profile`. See https://github.com/authlib/loginpass/blob/master/loginpass/google.py#L38
Thanks. I would prefer to pass the `base_url` in a function instead of using `os.environ`. Check https://github.com/authlib/loginpass/blob/master/loginpass/gitlab.py as an example.
And also, can you provide a test case for it?
Can you leave the discovery endpoint URL? In our code: https://github.com/authlib/loginpass/blob/master/loginpass/azure.py#L34 ```python issuer = issuer.replace('{tenantid}', tenant) ``` It is replacing `{tenantid}` instead of `{tenant}`, I think this is the problem.
@blackdwarf I've improved `create_azure_backend` function, I think this will solve all the problem. You can always pass a `compliance_fix` function to fix the returned value of server metadata.
@ZTAP0011 can you send your curl command? Which grant_type are you using?