Regarding redirect uri

Hi,
I am trying Spring Boot and Okta integration for OIDC integration. I seen some place the redirect-uri is mentioned as /login/oauth2/code/okta while other places its /authorization-code/callback. Where can I find more details related to when which uri should be used

Thanks in advance
Ani