Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for CLIENT_SECRET (0.11 sec)

  1. fastapi/security/oauth2.py

            for scope in form_data.scopes:
                data["scopes"].append(scope)
            if form_data.client_id:
                data["client_id"] = form_data.client_id
            if form_data.client_secret:
                data["client_secret"] = form_data.client_secret
            return data
        ```
    
        Note that for OAuth2 the scope `items:read` is a single scope in an opaque string.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 23 18:30:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  2. docs/distributed/iam-import-with-openid.sh

    ./mc mb myminio/test-bucket
    ./mc cp /etc/hosts myminio/test-bucket
    
    ./mc idp openid add myminio \
    	config_url="http://localhost:5556/dex/.well-known/openid-configuration" \
    	client_id="minio-client-app" \
    	client_secret="minio-client-app-secret" \
    	scopes="openid,groups,email,profile" \
    	redirect_uri="http://127.0.0.1:10000/oauth_callback" \
    	display_name="Login via dex1" \
    	role_policy="consoleAdmin"
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. internal/config/identity/openid/provider/keycloak.go

    // LoginWithClientID is implemented by Keycloak service account support
    func (k *KeycloakProvider) LoginWithClientID(clientID, clientSecret string) error {
    	values := url.Values{}
    	values.Set("client_id", clientID)
    	values.Set("client_secret", clientSecret)
    	values.Set("grant_type", "client_credentials")
    
    	req, err := http.NewRequest(http.MethodPost, k.oeConfig.TokenEndpoint, strings.NewReader(values.Encode()))
    	if err != nil {
    		return err
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jul 14 18:12:07 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/security/simple-oauth2.md

    ๐Ÿšฅ ๐Ÿ‘† ๐Ÿ’ช ๐Ÿ› ๏ธ โšซ๏ธ, โš™๏ธ `OAuth2PasswordRequestFormStrict` โ†ฉ๏ธ `OAuth2PasswordRequestForm`.
    
    ///
    
    * ๐Ÿ“ฆ `client_id` (๐Ÿ‘ฅ ๐Ÿšซ ๐Ÿ’ช โšซ๏ธ ๐Ÿ‘† ๐Ÿ–ผ).
    * ๐Ÿ“ฆ `client_secret` (๐Ÿ‘ฅ ๐Ÿšซ ๐Ÿ’ช โšซ๏ธ ๐Ÿ‘† ๐Ÿ–ผ).
    
    /// info
    
    `OAuth2PasswordRequestForm` ๐Ÿšซ ๐ŸŽ ๐ŸŽ“ **FastAPI** `OAuth2PasswordBearer`.
    
    `OAuth2PasswordBearer` โš’ **FastAPI** ๐Ÿ’ญ ๐Ÿ‘ˆ โšซ๏ธ ๐Ÿ’‚โ€โ™‚ โš–. โšซ๏ธ ๐Ÿšฎ ๐Ÿ‘ˆ ๐ŸŒŒ ๐Ÿ—„.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

                    .setGrantType("authorization_code")//
                    .setRedirectUri(getOicRedirectUrl())//
                    .set("client_id", getOicClientId())//
                    .set("client_secret", getOicClientSecret())//
                    .execute();
        }
    
        protected String getOicClientSecret() {
            return ComponentUtil.getSystemProperties().getProperty(OIC_CLIENT_SECRET, StringUtil.EMPTY);
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/security/simple-oauth2.md

    If you need to enforce it, use `OAuth2PasswordRequestFormStrict` instead of `OAuth2PasswordRequestForm`.
    
    ///
    
    * An optional `client_id` (we don't need it for our example).
    * An optional `client_secret` (we don't need it for our example).
    
    /// info
    
    The `OAuth2PasswordRequestForm` is not a special class for **FastAPI** as is `OAuth2PasswordBearer`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/security/simple-oauth2.md

    Wenn Sie es erzwingen mรผssen, verwenden Sie `OAuth2PasswordRequestFormStrict` anstelle von `OAuth2PasswordRequestForm`.
    
    ///
    
    * Eine optionale `client_id` (benรถtigen wir fรผr unser Beispiel nicht).
    * Ein optionales `client_secret` (benรถtigen wir fรผr unser Beispiel nicht).
    
    /// info
    
    `OAuth2PasswordRequestForm` ist keine spezielle Klasse fรผr **FastAPI**, so wie `OAuth2PasswordBearer`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. internal/config/identity/openid/openid.go

    	"github.com/minio/pkg/v3/env"
    	xnet "github.com/minio/pkg/v3/net"
    	"github.com/minio/pkg/v3/policy"
    )
    
    // OpenID keys and envs.
    const (
    	ClientID      = "client_id"
    	ClientSecret  = "client_secret"
    	ConfigURL     = "config_url"
    	ClaimName     = "claim_name"
    	ClaimUserinfo = "claim_userinfo"
    	RolePolicy    = "role_policy"
    	DisplayName   = "display_name"
    
    	Scopes             = "scopes"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 10 20:16:44 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. docs/zh/docs/tutorial/security/simple-oauth2.md

    ๅฎž้™…ไธŠ๏ผŒOAuth2 ่ง„่Œƒ*่ฆๆฑ‚* `grant_type` ๅญ—ๆฎตไฝฟ็”จๅ›บๅฎšๅ€ผ `password`๏ผŒไฝ† `OAuth2PasswordRequestForm` ๆฒกๆœ‰ไฝœๅผบๅˆถ็บฆๆŸใ€‚
    
    ๅฆ‚้œ€ๅผบๅˆถไฝฟ็”จๅ›บๅฎšๅ€ผ `password`๏ผŒๅˆ™ไธ่ฆ็”จ `OAuth2PasswordRequestForm`๏ผŒ่€Œๆ˜ฏ็”จ `OAuth2PasswordRequestFormStrict`ใ€‚
    
    ///
    
    * ๅฏ้€‰็š„ `client_id`๏ผˆๆœฌไพ‹ๆœชไฝฟ็”จ๏ผ‰
    * ๅฏ้€‰็š„ `client_secret`๏ผˆๆœฌไพ‹ๆœชไฝฟ็”จ๏ผ‰
    
    /// info | "่ฏดๆ˜Ž"
    
    `OAuth2PasswordRequestForm` ไธŽ `OAuth2PasswordBearer` ไธ€ๆ ท๏ผŒ้ƒฝไธๆ˜ฏ FastAPI ็š„็‰นๆฎŠ็ฑปใ€‚
    
    **FastAPI** ๆŠŠ `OAuth2PasswordBearer` ่ฏ†ๅˆซไธบๅฎ‰ๅ…จๆ–นๆกˆใ€‚ๅ› ๆญค๏ผŒๅฏไปฅ้€š่ฟ‡่ฟ™็งๆ–นๅผๆŠŠๅฎƒๆทปๅŠ ่‡ณ OpenAPIใ€‚
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  10. docs/ko/docs/tutorial/security/simple-oauth2.md

    ์‚ฌ์šฉํ•ด์•ผ ํ•œ๋‹ค๋ฉด `OAuth2PasswordRequestForm` ๋Œ€์‹  `OAuth2PasswordRequestFormStrict`๋ฅผ ์‚ฌ์šฉํ•˜๋ฉด ๋ฉ๋‹ˆ๋‹ค.
    
    ///
    
    * `client_id`(์„ ํƒ์ ์œผ๋กœ ์‚ฌ์šฉ) (์˜ˆ์ œ์—์„œ๋Š” ํ•„์š”ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค).
    * `client_secret`(์„ ํƒ์ ์œผ๋กœ ์‚ฌ์šฉ) (์˜ˆ์ œ์—์„œ๋Š” ํ•„์š”ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค).
    
    /// ์ •๋ณด
    
    `OAuth2PasswordRequestForm`์€ `OAuth2PasswordBearer`์™€ ๊ฐ™์ด **FastAPI**์— ๋Œ€ํ•œ ํŠน์ˆ˜ ํด๋ž˜์Šค๊ฐ€ ์•„๋‹™๋‹ˆ๋‹ค.
    
    `OAuth2PasswordBearer`๋Š” **FastAPI**๊ฐ€ ๋ณด์•ˆ ์ฒด๊ณ„์ž„์„ ์•Œ๋„๋ก ํ•ฉ๋‹ˆ๋‹ค. ๊ทธ๋ž˜์„œ OpenAPI์— ๊ทธ๋ ‡๊ฒŒ ์ถ”๊ฐ€๋ฉ๋‹ˆ๋‹ค.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top