Closed
Description
Description
The configuration of the Azure AD v2 source via the webpage works as expected:
However, via the CLI, there is no way to pass the tenant value. I can see the CustomURLMapping structure contains the Tenant
value.
I can work on a PR if someone can indeed confirm that the following files need the updates:
- Add another line:
TenantID: c.String("custom-tenant-id"),
to the cmd/admin.go - add another CLI option for cmd/admin.go
- Do I need to edit the providers_custom.go? Replace
organizations
with something else? - Update the CLI docs (source md)
Gitea Version
1.18.2
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
2.36.4, Wire Protocol Version 2 Enabled
Operating System
Ubuntu 22.04.1 LTS (GNU/Linux 5.15.0-1026-kvm x86_64)
How are you running Gitea?
Running it in Docker version 20.10.23 from docker image gitea/gitea:1.18.2-rootless
.
Database
PostgreSQL