Change example Openid Connect callback url's to be correct. (#899)

* Change oauth urls in config sample

Signed-off-by: Minecraftchest1 <minecraftchest1@outlook.com>

* Update github docs oauth url

Signed-off-by: Minecraftchest1 <minecraftchest1@outlook.com>

* Fix default oauth2 callback url.

Signed-off-by: Minecraftchest1 <minecraftchest1@outlook.com>

* Create changelog docs.

Signed-off-by: Minecraftchest1 <minecraftchest1@outlook.com>

---------

Signed-off-by: Minecraftchest1 <minecraftchest1@outlook.com>
This commit is contained in:
Minecraftchest1 2024-02-26 02:45:30 -06:00 committed by GitHub
parent c09f00e2a3
commit 6c6cd6ee92
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 6 additions and 5 deletions

1
changelog.d/899.doc Normal file
View File

@ -0,0 +1 @@
Fixes the OpenID Connect call back URI in the config defaults and docs.

View File

@ -50,7 +50,7 @@ listeners:
# # (Optional) Settings for allowing users to sign in via OAuth.
# client_id: foo
# client_secret: bar
# redirect_uri: https://example.com/bridge_oauth/
# redirect_uri: https://example.com/oauth/
# defaultOptions:
# # (Optional) Default options for GitHub connections.
# showIssueRoomLink: false
@ -93,7 +93,7 @@ listeners:
# # (Optional) OAuth settings for connecting users to JIRA. See documentation for more information
# client_id: foo
# client_secret: bar
# redirect_uri: https://example.com/bridge_oauth/
# redirect_uri: https://example.com/oauth/
#generic:
# # (Optional) Support for generic webhook events.

View File

@ -63,7 +63,7 @@ github:
oauth:
client_id: foo
client_secret: bar
redirect_uri: https://example.com/bridge_oauth/
redirect_uri: https://example.com/oauth/
defaultOptions:
showIssueRoomLink: false
```

View File

@ -66,7 +66,7 @@ export const DefaultConfigRoot: BridgeConfigRoot = {
oauth: {
client_id: "foo",
client_secret: "bar",
redirect_uri: `${hookshotWebhooksUrl}/bridge_oauth/`,
redirect_uri: `${hookshotWebhooksUrl}/oauth/`,
},
webhook: {
secret: "secrettoken",
@ -98,7 +98,7 @@ export const DefaultConfigRoot: BridgeConfigRoot = {
oauth: {
client_id: "foo",
client_secret: "bar",
redirect_uri: `${hookshotWebhooksUrl}/bridge_oauth/`,
redirect_uri: `${hookshotWebhooksUrl}/oauth/`,
},
},
generic: {