Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for CLIENT_SECRET (0.08 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. tests/test_security_oauth2_optional.py

        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() == {
            "openapi": "3.1.0",
    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.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() == {
            "openapi": "3.1.0",
    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.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() == {
            "openapi": "3.1.0",
    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 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

    // 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)
  7. tests/test_tutorial/test_security/test_tutorial005_an_py39.py

                                # TODO: remove when deprecating Pydantic v1
                                {"title": "Client Id", "type": "string"}
                            ),
                            "client_secret": IsDict(
                                {
                                    "title": "Client Secret",
                                    "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. tests/test_tutorial/test_security/test_tutorial005.py

                                # TODO: remove when deprecating Pydantic v1
                                {"title": "Client Id", "type": "string"}
                            ),
                            "client_secret": IsDict(
                                {
                                    "title": "Client Secret",
                                    "anyOf": [{"type": "string"}, {"type": "null"}],
                                }
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  9. 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)
  10. tests/test_tutorial/test_security/test_tutorial005_an.py

                                # TODO: remove when deprecating Pydantic v1
                                {"title": "Client Id", "type": "string"}
                            ),
                            "client_secret": IsDict(
                                {
                                    "title": "Client Secret",
                                    "anyOf": [{"type": "string"}, {"type": "null"}],
                                }
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 15.4K bytes
    - Viewed (0)
Back to top