Skip to content

More secure OAuth Authorization Flows #46

Description

@intptr-t

Salesforce does not recommend username-password flows.
To make it more secure, improve to adopt "OAuth 2.0 JWT Bearer Flow for Server-to-Server Integration" or similar.

https://help.salesforce.com/s/articleView?id=sf.remoteaccess_oauth_flows.htm&type=5

Some flows have important security considerations. For example, when using the web server flow, you must store the client secret securely. We recommend avoiding the user-agent and username-password flows because they transmit credentials. Instead, choose a flow that frees the app from having to manage, store, and protect credentials.

Current grant_type

Manual

Additionally, An addition should be added to the manual on how to block it.
https://help.salesforce.com/s/articleView?id=sf.remoteaccess_disable_username_password_flow.htm&type=5

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions