mirror of
https://github.com/matrix-org/matrix-hookshot.git
synced 2025-03-10 21:19:13 +00:00
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:
parent
c09f00e2a3
commit
6c6cd6ee92
1
changelog.d/899.doc
Normal file
1
changelog.d/899.doc
Normal file
@ -0,0 +1 @@
|
||||
Fixes the OpenID Connect call back URI in the config defaults and docs.
|
@ -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.
|
||||
|
@ -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
|
||||
```
|
||||
|
@ -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: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user