You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "flca267 (via GitHub)" <gi...@apache.org> on 2023/03/07 08:59:41 UTC

[GitHub] [apisix] flca267 opened a new issue, #9023: feat: forward-auth plugin send authorization service's response body to upstream

flca267 opened a new issue, #9023:
URL: https://github.com/apache/apisix/issues/9023

   ### Description
   
   As a user, I want to use forward-auth plugin to send authorization service's response body to upstream. But the plugin only support response header now. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] flca267 commented on issue #9023: feat: forward-auth plugin send authorization service's response body to upstream

Posted by "flca267 (via GitHub)" <gi...@apache.org>.
flca267 commented on issue #9023:
URL: https://github.com/apache/apisix/issues/9023#issuecomment-1460019344

   The plugin may need a config called upstream_bodies to let user select which part of response body from authentication server is needed. It may be a complicated task as the plugin need to merge the additional data into the original request body.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] flca267 commented on issue #9023: feat: forward-auth plugin send authorization service's response body to upstream

Posted by "flca267 (via GitHub)" <gi...@apache.org>.
flca267 commented on issue #9023:
URL: https://github.com/apache/apisix/issues/9023#issuecomment-1463356235

   I rethink about it. Support this feature but make current logic more complicated isn't what i want. So i will close this issue. THANKS for your opinions! @spacewander @monkeyDluffy6017 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] flca267 commented on issue #9023: feat: forward-auth plugin send authorization service's response body to upstream

Posted by "flca267 (via GitHub)" <gi...@apache.org>.
flca267 commented on issue #9023:
URL: https://github.com/apache/apisix/issues/9023#issuecomment-1459377864

   Authentication server may not only return the auth result but some data which could be used for upstream(e.g. user info when auth success). If we send it, upstream do not need to request the authentication server again. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] flca267 closed issue #9023: feat: forward-auth plugin send authorization service's response body to upstream

Posted by "flca267 (via GitHub)" <gi...@apache.org>.
flca267 closed issue #9023: feat: forward-auth plugin send authorization service's response body to upstream
URL: https://github.com/apache/apisix/issues/9023


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] monkeyDluffy6017 commented on issue #9023: feat: forward-auth plugin send authorization service's response body to upstream

Posted by "monkeyDluffy6017 (via GitHub)" <gi...@apache.org>.
monkeyDluffy6017 commented on issue #9023:
URL: https://github.com/apache/apisix/issues/9023#issuecomment-1459400129

   @spacewander What‘s’ your opinion?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] monkeyDluffy6017 commented on issue #9023: feat: forward-auth plugin send authorization service's response body to upstream

Posted by "monkeyDluffy6017 (via GitHub)" <gi...@apache.org>.
monkeyDluffy6017 commented on issue #9023:
URL: https://github.com/apache/apisix/issues/9023#issuecomment-1459259536

   What authentication server will put the authentication information into the body?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] spacewander commented on issue #9023: feat: forward-auth plugin send authorization service's response body to upstream

Posted by "spacewander (via GitHub)" <gi...@apache.org>.
spacewander commented on issue #9023:
URL: https://github.com/apache/apisix/issues/9023#issuecomment-1463083684

   What about configuring the authentication server to pass the info via response body?
   As you mentioned, selecting and merging the additional data may be a complicated task.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org