flaky-traffic-45099
01/05/2024, 5:58 PMproviders:
- id: adfs
provider: generic
client_id: "..."
mapper_url: <file://path/to/oidc.jsonnet>
client_secret: "..."
issuer_url: <https://some.adfs.provider.com>
auth_url: <https://some.other.url.com/oauth/auth> // Looks like these param are purposeless.
token_url: <https://some.other.url.com/oauth/token> // Looks like these param are purposeless.
The strange thing here is that looks like these params (auth_url, token_url
)(https://github.com/ory/kratos/blob/eb8d1b9abd6d2b3eb86ab11d48d9ebd059586b67/selfservice/strategy/oidc/provider_config.go#L57-L65) does not make any sense for “generic” providers at all because they seems have not used anywhere is source code (I couldn’t find any references). Am I right or wrong? And If I’m wrong could you point me where can I find these params usage?flaky-traffic-45099
01/14/2024, 1:26 PMlate-student-35526
01/16/2024, 2:23 PMNewProviderGenericOIDC
and used in the call to OAuth2
to create a new oauth2.Config
object, both in the provider_config.go
file.