-
-
Notifications
You must be signed in to change notification settings - Fork 440
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(test): use demo app to test username-password flow in integration…
… test (#1635)
- Loading branch information
Showing
2 changed files
with
9 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
import { demoAppApplicationId } from '@logto/schemas/lib/seeds'; | ||
import { getEnv } from '@silverhand/essentials'; | ||
|
||
export const logtoUrl = getEnv('LOGTO_URL'); | ||
|
||
export const discoveryUrl = `${logtoUrl}/oidc/.well-known/openid-configuration`; | ||
|
||
export const redirectUri = `${logtoUrl}/console/callback`; | ||
export const demoAppRedirectUri = `${logtoUrl}/${demoAppApplicationId}`; |
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