mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
chore: add comment
This commit is contained in:
parent
32f21083f0
commit
5a337520cb
1 changed files with 8 additions and 0 deletions
|
@ -5,6 +5,14 @@ import { sql } from 'slonik';
|
|||
|
||||
import { log } from '../../../utils.js';
|
||||
|
||||
/**
|
||||
* Append Redirect URIs for the default tenant callback in cloud Admin Console.
|
||||
* It reads the same env variables as core to construct the cloud `UrlSet`.
|
||||
*
|
||||
* E.g., by default, it will appends `http://localhost:3003/default/callback` to the Redirect URIs.
|
||||
*
|
||||
* For why it is necessary, see the redirect lifecycle of cloud Admin Console.
|
||||
*/
|
||||
export const appendAdminConsoleRedirectUris = async (pool: CommonQueryMethods) => {
|
||||
const redirectUris = new GlobalValues().cloudUrlSet
|
||||
.deduplicated()
|
||||
|
|
Loading…
Reference in a new issue