Skip to content
This repository was archived by the owner on May 2, 2025. It is now read-only.

Commit 621a3b4

Browse files
authored
Document the oidc_claims parameter for registration_callback_url in the config file. (#614)
And help user with an example for provider_url. It should prevent them from making the mistake of adding the oidc well-known path.
1 parent 6ee8de5 commit 621a3b4

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

cmd/chirpstack-application-server/cmd/configfile.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,11 +178,14 @@ id="{{ .ApplicationServer.ID }}"
178178
# can implement the association of the user with an organization, create a new
179179
# organization, ...
180180
# ChirpStack Application Server will make a HTTP POST call to this endpoint,
181-
# with the URL parameter user_id.
181+
# with the following URL parameters:
182+
# - user_id, of the newly created user in ChirpStack Application Server.
183+
# - oidc_claims, the claims returned by the OpenID Connect "UserInfo" call, JSON-encoded. Use this to find additional information, like the users organization.
182184
registration_callback_url="{{ .ApplicationServer.UserAuthentication.OpenIDConnect.RegistrationCallbackURL }}"
183185
184186
# Provider URL.
185187
# This is the URL of the OpenID Connect provider.
188+
# Example: https://auth.example.org
186189
provider_url="{{ .ApplicationServer.UserAuthentication.OpenIDConnect.ProviderURL }}"
187190
188191
# Client ID.

0 commit comments

Comments
 (0)