-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
correct regelrett api scopes for SKIP (#256)
* correct regelrett api scopes for SKIP * correct regelrett api scopes for SKIP * fix
- Loading branch information
1 parent
845babf
commit 1512386
Showing
3 changed files
with
20 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
function getConfig(r) { | ||
var config = { | ||
clientId: process.env.VITE_CLIENT_ID, | ||
authority: process.env.VITE_AUTHORITY, | ||
redirect_uri: process.env.VITE_LOGIN_REDIRECT_URI, | ||
backend_url: process.env.VITE_BACKEND_URL, | ||
regelrett_frontend_url: process.env.VITE_REGELRETT_FRONTEND_URL | ||
}; | ||
r.headersOut['Content-Type'] = 'application/json'; | ||
r.return(200, JSON.stringify(config)); | ||
var config = { | ||
clientId: process.env.VITE_CLIENT_ID, | ||
authority: process.env.VITE_AUTHORITY, | ||
redirect_uri: process.env.VITE_LOGIN_REDIRECT_URI, | ||
backend_url: process.env.VITE_BACKEND_URL, | ||
regelrett_frontend_url: process.env.VITE_REGELRETT_FRONTEND_URL, | ||
regelrett_client_id: process.env.REGELRETT_CLIENT_ID, | ||
}; | ||
r.headersOut["Content-Type"] = "application/json"; | ||
r.return(200, JSON.stringify(config)); | ||
} | ||
|
||
export default { getConfig }; | ||
export default { getConfig }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters