Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for redirectUrl (0.08 sec)

  1. src/main/java/org/codelibs/fess/app/web/logout/LogoutAction.java

            activityHelper.logout(userBean);
            final String redirectUrl = userBean.map(user -> ComponentUtil.getSsoManager().logout(user)).orElse(null);
            fessLoginAssist.logout();
            userInfoHelper.deleteUserCodeFromCookie(request);
            if (StringUtil.isNotBlank(redirectUrl)) {
                return HtmlResponse.fromRedirectPathAsIs(redirectUrl);
            }
            return redirect(LoginAction.class);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. fastapi/openapi/docs.py

        <body>
        <script>
            'use strict';
            function run () {
                var oauth2 = window.opener.swaggerUIRedirectOauth2;
                var sentState = oauth2.state;
                var redirectUrl = oauth2.redirectUrl;
                var isValid, qp, arr;
    
                if (/code|token|error/.test(window.location.hash)) {
                    qp = window.location.hash.substring(1).replace('?', '&');
                } else {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu May 23 22:59:02 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. cmd/post-policy_test.go

    	if err != nil {
    		t.Error("Unexpected error: ", err)
    	}
    
    	v := redirectURL.Query()
    	v.Add("bucket", info.Bucket)
    	v.Add("key", info.Name)
    	v.Add("etag", "\""+info.ETag+"\"")
    	redirectURL.RawQuery = v.Encode()
    	expectedLocation := redirectURL.String()
    
    	// Check the new location url
    	if rec.Header().Get("Location") != expectedLocation {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  4. docs/sts/web-identity.go

    	buf.WriteString(c.Endpoint.AuthURL)
    	v := url.Values{
    		"response_type": {"id_token"},
    		"response_mode": {"form_post"},
    		"client_id":     {c.ClientID},
    	}
    	if c.RedirectURL != "" {
    		v.Set("redirect_uri", c.RedirectURL)
    	}
    	if len(c.Scopes) > 0 {
    		v.Set("scope", strings.Join(c.Scopes, " "))
    	}
    	v.Set("state", state)
    	v.Set("nonce", state)
    	if strings.Contains(c.Endpoint.AuthURL, "?") {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 19 09:13:33 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  5. docs/site-replication/gen-oidc-sts-cred.go

    	}
    
    	appParams := cmd.OpenIDClientAppParams{
    		ClientID:     "minio-client-app",
    		ClientSecret: "minio-client-app-secret",
    		ProviderURL:  "http://127.0.0.1:5556/dex",
    		RedirectURL:  "http://127.0.0.1:10000/oauth_callback",
    	}
    
    	oidcToken, err := cmd.MockOpenIDTestUserInteraction(ctx, appParams, "******@****.***", "dillon")
    	if err != nil {
    		log.Fatalf("Failed to generate OIDC token: %v", err)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 29 01:27:09 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  6. cmd/common-main.go

    	}
    }
    
    func serverHandleEnvVars() {
    	var err error
    	if globalBrowserEnabled {
    		if redirectURL := env.Get(config.EnvBrowserRedirectURL, ""); redirectURL != "" {
    			u, err := xnet.ParseHTTPURL(redirectURL)
    			if err != nil {
    				logger.Fatal(err, "Invalid MINIO_BROWSER_REDIRECT_URL value in environment variable")
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  7. cmd/bucket-handlers.go

    			Status:    http.StatusText(http.StatusOK),
    		})
    	}
    
    	if redirectURL != nil { // success_action_redirect is valid and set.
    		v := redirectURL.Query()
    		v.Add("bucket", objInfo.Bucket)
    		v.Add("key", objInfo.Name)
    		v.Add("etag", "\""+objInfo.ETag+"\"")
    		redirectURL.RawQuery = v.Encode()
    		writeRedirectSeeOther(w, redirectURL.String())
    		return
    	}
    
    	// Add checksum header.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  8. cmd/utils.go

    	}
    
    	// Configure an OpenID Connect aware OAuth2 client.
    	oauth2Config := oauth2.Config{
    		ClientID:     pro.ClientID,
    		ClientSecret: pro.ClientSecret,
    		RedirectURL:  pro.RedirectURL,
    
    		// Discovery returns the OAuth2 endpoints.
    		Endpoint: provider.Endpoint(),
    
    		// "openid" is a required scope for OpenID Connect flows.
    		Scopes: []string{oidc.ScopeOpenID, "groups"},
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  9. cmd/sts-handlers_test.go

    }
    
    var testAppParams = OpenIDClientAppParams{
    	ClientID:     "minio-client-app",
    	ClientSecret: "minio-client-app-secret",
    	ProviderURL:  "http://127.0.0.1:5556/dex",
    	RedirectURL:  "http://127.0.0.1:10000/oauth_callback",
    }
    
    const (
    	EnvTestOpenIDServer  = "_MINIO_OPENID_TEST_SERVER"
    	EnvTestOpenIDServer2 = "_MINIO_OPENID_TEST_SERVER_2"
    )
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

      fun urlRedirectToHostWithNul() {
        val redirectUrl = "http://host\u0000/"
        server.enqueue(
          MockResponse.Builder()
            .code(302)
            .addHeaderLenient("Location", redirectUrl)
            .build(),
        )
        val response = getResponse(newRequest("/"))
        assertThat(response.code).isEqualTo(302)
        assertThat(response.header("Location")).isEqualTo(redirectUrl)
      }
    
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
Back to top