dynamic-default-oauth.js 325 B

123456789
  1. describe("dynamic default oauth2RedirectUrl", () => {
  2. it("should compute an oauth2RedirectUrl based on the browser's location at runtime", () => {
  3. cy.visit("/")
  4. .window()
  5. .then(win => win.ui.getConfigs())
  6. .should("include", { oauth2RedirectUrl: "http://localhost:3230/oauth2-redirect.html" })
  7. })
  8. })