Enterprise OAuth 2.0 - OAuth2.0OpenID Connect For the Enterprise(4)

Enterprise OAuth 2.0 - OAuth2.0OpenID Connect For the Enterprise(4)

OAuth 2.0 and OpenID Connect

OAuth 2.0 Best Practices
  • Prefer Authorization Code Grant with PKCE
  • Prefer Client Credentials Grant for Cron Jobs
  • Avoid using Implicit Grant
  • Avoid using Resource Owner Password Grant
  • Store the secrets in a Safe place
  • Rotate the secrets regularly
  • Keep Access tokens short (5 min)
  • Avoid using local users of the Authorization Server
  • Do not associate users with more scopes than needed
  • Use the enterprise logout (all sessions)
  • Do not store tokens or secrets in the browser or Mobile Devices
posted @ 2021-05-05 20:29  晨风_Eric  阅读(44)  评论(0编辑  收藏  举报