Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 63 for client_id (0.06 sec)

  1. fastapi/security/oauth2.py

            data = {}
            data["scopes"] = []
            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
        ```
    
    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. tests/test_security_oauth2_optional.py

        )
        assert response.status_code == 200
        assert response.json() == {
            "grant_type": "password",
            "username": "johndoe",
            "password": "secret",
            "scopes": [],
            "client_id": None,
            "client_secret": None,
        }
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. tests/test_security_oauth2.py

        )
        assert response.status_code == 200
        assert response.json() == {
            "grant_type": "password",
            "username": "johndoe",
            "password": "secret",
            "scopes": [],
            "client_id": None,
            "client_secret": None,
        }
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. tests/test_security_oauth2_optional_description.py

        assert response.status_code == 200, response.text
        assert response.json() == {
            "grant_type": "password",
            "username": "johndoe",
            "password": "secret",
            "scopes": [],
            "client_id": None,
            "client_secret": None,
        }
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. docs/distributed/iam-import-with-openid.sh

    ./mc ready myminio
    ./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)
  6. internal/config/identity/openid/provider/keycloak.go

    	return ErrNotImplemented
    }
    
    // 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")
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jul 14 18:12:07 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_security/test_tutorial005_an_py39.py

                            "password": {"title": "Password", "type": "string"},
                            "scope": {"title": "Scope", "type": "string", "default": ""},
                            "client_id": IsDict(
                                {
                                    "title": "Client Id",
                                    "anyOf": [{"type": "string"}, {"type": "null"}],
                                }
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  8. internal/event/target/mqtt.go

    func (target *MQTTTarget) initMQTT() error {
    	args := target.args
    
    	// Using hex here, to make sure we avoid 23
    	// character limit on client_id according to
    	// MQTT spec.
    	clientID := fmt.Sprintf("%x", time.Now().UnixNano())
    
    	options := mqtt.NewClientOptions().
    		SetClientID(clientID).
    		SetCleanSession(true).
    		SetUsername(args.User).
    		SetPassword(args.Password).
    		SetMaxReconnectInterval(args.MaxReconnectInterval).
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  9. docs/em/docs/tutorial/security/simple-oauth2.md

    /// tip
    
    Oauth2ī¸âƒŖ 🔌 🤙 *🚚* 🏑 `grant_type` ⏎ī¸ 🔧 💲 `password`, ✋ī¸ `OAuth2PasswordRequestForm` đŸšĢ 🛠ī¸ âšĢī¸.
    
    đŸšĨ 👆 đŸ’Ē 🛠ī¸ âšĢī¸, ⚙ī¸ `OAuth2PasswordRequestFormStrict` ↩ī¸ `OAuth2PasswordRequestForm`.
    
    ///
    
    * đŸ“Ļ `client_id` (đŸ‘Ĩ đŸšĢ đŸ’Ē âšĢī¸ 👆 đŸ–ŧ).
    * đŸ“Ļ `client_secret` (đŸ‘Ĩ đŸšĢ đŸ’Ē âšĢī¸ 👆 đŸ–ŧ).
    
    /// info
    
    `OAuth2PasswordRequestForm` đŸšĢ 🎁 🎓 **FastAPI** `OAuth2PasswordBearer`.
    
    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/sts/web-identity.md

    minio server /mnt/export
    ```
    
    or using `mc`
    
    ```
    mc admin config get myminio identity_openid
    identity_openid config_url=https://accounts.google.com/.well-known/openid-configuration client_id=843351d4-1080-11ea-aa20-271ecba3924a
    ```
    
    Testing with an example
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 10 20:16:44 UTC 2024
    - 18.9K bytes
    - Viewed (0)
Back to top