diff --git a/internal/endpoints/token/mytoken/pkg/authCodeFlowRequest.go b/internal/endpoints/token/mytoken/pkg/authCodeFlowRequest.go
index af8a677d1736d7b707161ac345259c202db42041..e3f0a19147e66dcf99f9bf0831d008c0e1b17a66 100644
--- a/internal/endpoints/token/mytoken/pkg/authCodeFlowRequest.go
+++ b/internal/endpoints/token/mytoken/pkg/authCodeFlowRequest.go
@@ -15,7 +15,7 @@ type AuthCodeFlowRequest struct {
 
 // Native checks if the request is native
 func (r *AuthCodeFlowRequest) Native() bool {
-	return r.RedirectType == api.RedirectTypeNative
+	return r.RedirectType != api.RedirectTypeWeb
 }
 
 // UnmarshalJSON implements the json unmarshaler interface
diff --git a/internal/endpoints/token/mytoken/pkg/oidcFlowRequest.go b/internal/endpoints/token/mytoken/pkg/oidcFlowRequest.go
index 3d59096674fcaef61b356570f5cdac915eb75937..6299b6265b4172aa4e2c2d39f3426d5defceec78 100644
--- a/internal/endpoints/token/mytoken/pkg/oidcFlowRequest.go
+++ b/internal/endpoints/token/mytoken/pkg/oidcFlowRequest.go
@@ -30,7 +30,7 @@ func NewOIDCFlowRequest() *OIDCFlowRequest {
 			},
 		},
 		ResponseType: model.ResponseTypeToken,
-		redirectType: api.RedirectTypeWeb,
+		redirectType: api.RedirectTypeNative,
 		GrantType:    -1,
 	}
 }