AppAuth-Android icon indicating copy to clipboard operation
AppAuth-Android copied to clipboard

Open Authorisation Url without any parameters

Open stephen1706 opened this issue 4 years ago • 1 comments

Configuration

  • Version: 0.7.1
  • Integration: Kotlin
  • Identity provider: Other SSO

Description

Hi, is there any way for us to start an authorisation flow without passing any query string (such as client_id, state, etc), because my flow is that I will open a middleware, and the middleware will redirect me to the proper /authorize url along with the their generated state, client_id, etc. But when the auth flow is done, I still need to intercept the code and state, therefore I still want to use this library. Thanks!

stephen1706 avatar Sep 29 '21 08:09 stephen1706

While I would call that unorthodox, I don't see any reason why your middleware wouldn't just ignore the extra parameters, so either passing them or not should not be an issue.

LE: Btw, the answer is no that's not a designed flow.

agologan avatar Oct 04 '21 18:10 agologan