REDIRECT_URI MISMATCH
FIRST THING NEED TO CHECK REDIRECT URL OF YOUR APPLICATION...
IF THEY ARE SAME THEN YOU NEED TO GO WITH SECOND OPTION,
EX: OmniAuth.config.full_host = "[HOST NAME]"
OmniAuth.config.full_host = "http://dev.mr.wedev.in"
#IT IS FOR YOUR GLOBAL APPLICATION
to override call back url......
OmniAuth.config.full_host = 'http://localhost:3000'
#IT IS FOR YOUR LOCAL APPLICATION
OmniAuth.config.full_host no need to use in local system...but it is mainly used in production enviroment...it initializes redirect url....
OmniAuth.config.full_host no need to use in local system...but it is mainly used in production enviroment...it initializes redirect url....
No comments:
Post a Comment