-
-
Notifications
You must be signed in to change notification settings - Fork 627
Add support for login_hint in authorization url generation #4943
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
3bda675
to
2b331a6
Compare
Signed-off-by: olivier <[email protected]> Signed-off-by: olivier <[email protected]> fix lint Signed-off-by: olivier <[email protected]>
2b331a6
to
e17dc97
Compare
@@ -125,6 +125,7 @@ export const generateAuthorizationUrl = async ( | |||
* @param prompt - indicates to the OP which flow the user should see - eg login or registration | |||
* See https://openid.net/specs/openid-connect-prompt-create-1_0.html#name-prompt-parameter | |||
* @param urlState - value to append to the opaque state identifier to uniquely identify the callback | |||
* @param loginHint - send connecting user login hint to OP |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't really understand this documentation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
from the spec :
* @param loginHint - send connecting user login hint to OP | |
* @param loginHint - hint to the OP about the login identifier the user might use to log in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe:
* @param loginHint - send connecting user login hint to OP | |
* @param loginHint - value to send as the `login_hint` to the OP, giving a hint about the login identifier the user might use to log in. See {@link https://openid.net/specs/openid-connect-core-1_0.html#AuthRequest OIDC core 3.1.2.1}. |
?
This is needed for using login_hint when connecting with oidc native flow in Element Web
Server side PR in MAS : element-hq/matrix-authentication-service#4568
Checklist
public
/exported
symbols have accurate TSDoc documentation.