mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
fix(api): 🐛 Fix incorrect order of function parameters
This commit is contained in:
parent
d84ae38573
commit
d2dcdce763
3 changed files with 2 additions and 5 deletions
|
|
@ -119,8 +119,8 @@ export default (plugin: PluginType) => {
|
|||
{
|
||||
client_id: issuer.client_id,
|
||||
redirect_uri: `${oauthRedirectUri(
|
||||
issuerId,
|
||||
context.get("config").http.base_url,
|
||||
issuerId,
|
||||
)}?flow=${newFlow.id}`,
|
||||
response_type: "code",
|
||||
scope: "openid profile email",
|
||||
|
|
|
|||
|
|
@ -164,8 +164,8 @@ export default (plugin: PluginType) => {
|
|||
const codeVerifier = generateRandomCodeVerifier();
|
||||
|
||||
const redirectUri = oauthRedirectUri(
|
||||
issuerId,
|
||||
context.get("config").http.base_url,
|
||||
issuerId,
|
||||
);
|
||||
|
||||
const application = (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue