smart4solutions / apex_oauth

PL/SQL packages enabling Google, Linkedin and Facebook login for apex
MIT License
39 stars 5 forks source link

Help me Redirect URL format for Google #4

Closed searching9x closed 8 years ago

searching9x commented 8 years ago

Hello Sir,

Can you help me, give me format of redirectURL of Google (And Facebook, Twitter?)

I try some format but it not work!

For example:

http://localhost:8080/apex/s4sg_auth_pck.oauth2callback

And get error message:

Not found

The requested URL /apex/s4sg_auth_pck.oauth2callback was not found on this server

Thanks sir.

rmartenss4s commented 8 years ago

Don't forget to give access to the package to the user under which the listener connects to the database (most likely APEX_PUBLIC_USER) as follows:

GRANT EXECUTE on S4SG_AUTH_PCK to APEX_PUBLIC_USER;

searching9x commented 8 years ago

I've run the command: "GRANT EXECUTE on S4SG_AUTH_PCK to APEX_PUBLIC_USER;" in both SQLPlus & APEX SQL Script.

If I set S4SA_GGL_REDIRECT_URL = "http://eclipse.org". It work fine!

Else if set S4SA_GGL_REDIRECT_URL = "http://localhost:8080/apex/s4sg_auth_pck.oauth2callback" then get error:

The requested URL /apex/s4sg_auth_pck.oauth2callback was not found on this server.

Really URL does not exist. (http://localhost:8080/apex/s4sg_auth_pck.oauth2callback).

Am I doing anything wrong?

Thank sir.

rmartenss4s commented 8 years ago

pls find me on apex world and slack, there we can talk privately. I think it might have to do with your environment.

searching9x commented 8 years ago

I registered member on the apex world, and find your account, and registered slack,but I do not know how to contact you in slack