Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for StatusUnauthorized (0.11 sec)

  1. internal/config/identity/openid/provider/keycloak.go

    			return User{}, err
    		}
    		return u, nil
    	case http.StatusNotFound:
    		return User{
    			ID:      userid,
    			Enabled: false,
    		}, nil
    	case http.StatusUnauthorized:
    		return User{}, ErrAccessTokenExpired
    	}
    	return User{}, fmt.Errorf("Unable to lookup - keycloak user lookup returned %v", resp.Status)
    }
    
    // Option is a function type that accepts a pointer Target
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jul 14 18:12:07 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top